Remove extra check

Sometimes when updating a resource you are not redirected to the same
resource, you are maybe redirected to the parent resource and the
translations can be different. This condition will be checked after
visiting the edit_path again.
This commit is contained in:
Julian Herrero
2019-01-20 00:45:44 +01:00
parent d76782f150
commit dbdbcd662a

View File

@@ -135,7 +135,6 @@ shared_examples "translatable" do |factory_name, path_name, input_fields, textar
click_button update_button_text
expect(page).not_to have_css "#error_explanation"
expect(page).not_to have_link "English"
path = updated_path_for(translatable)
visit path