aboutsummaryrefslogtreecommitdiff
path: root/test/application_system_test_case.rb
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2024-03-14 11:34:28 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2024-03-14 14:09:11 +0100
commit64e2bca8326bd46a2ad80b6a7a430dea0f81ff6b (patch)
treebf4d1894c45471ee1d38b6292b87e356737f2fb6 /test/application_system_test_case.rb
parent90feff2bfcbdb5586a459c2350a4172a4423668e (diff)
downloadoperum-64e2bca8326bd46a2ad80b6a7a430dea0f81ff6b.tar.gz
operum-64e2bca8326bd46a2ad80b6a7a430dea0f81ff6b.zip
Added rubocop-minitest
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'test/application_system_test_case.rb')
-rw-r--r--test/application_system_test_case.rb1
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.