diff --git a/test/functional/registrations_controller_test.rb b/test/functional/registrations_controller_test.rb index 14c70a9..5ba8727 100644 --- a/test/functional/registrations_controller_test.rb +++ b/test/functional/registrations_controller_test.rb @@ -75,7 +75,7 @@ get edit_user_registration_path assert_response :success - assert_select 'main .page h1', _('Edit profile') + assert_select 'main h1', _('Edit profile') end diff --git a/test/test_helper.rb b/test/test_helper.rb index ffe4f10..67bda11 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -117,7 +117,7 @@ follow_redirects assert_response :success - assert_select 'main .page h1', _('Welcome.') + assert_select 'main h1', _('Welcome.') end # ---------------------------------------------------------------------- @@ -129,7 +129,7 @@ follow_redirects assert_response :success - assert_select 'main .page h1', _('My Dashboard') + assert_select 'main h1', _('My Dashboard') end # ----------------------------------------------------------------------