Simpler calls to *_translatable shared specs
Enable translations interface setting inside shared specs when needed. Co-Authored-By: javierm <javim@elretirao.net>
This commit is contained in:
committed by
voodoorai2000
parent
73563e5d86
commit
264b3f0f82
@@ -43,6 +43,7 @@ shared_examples "new_translatable" do |factory_name, path_name, input_fields, te
|
||||
end
|
||||
|
||||
before do
|
||||
Setting["feature.translation_interface"] = true
|
||||
login_as(user)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user