diff options
Diffstat (limited to 'test/application_system_test_case.rb')
| -rw-r--r-- | test/application_system_test_case.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb index eaa28b0..5fd0889 100644 --- a/test/application_system_test_case.rb +++ b/test/application_system_test_case.rb @@ -19,6 +19,7 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase # Sign out the current user if it's already signed in, otherwise do nothing. def sign_out_maybe! click_on I18n.t('sessions.sign-out') + assert_text I18n.t('sessions.title') rescue Capybara::ElementNotFound # We were not logged in, do nothing. |
