diff --git a/spec/features/admin/translations_spec.rb b/spec/features/admin/translations_spec.rb index 1d9538cd..65f14747 100644 --- a/spec/features/admin/translations_spec.rb +++ b/spec/features/admin/translations_spec.rb @@ -54,8 +54,8 @@ fill_in "Presentation", with: "Sizes" click_button "Create" - expect(page).to have_content "Option Type \"Shirt Size\" has been successfully created" - expect(page).to have_content "OPTION VALUES" + page.should have_content "has been successfully created" + page.should have_content "OPTION VALUES" end end