From 64e2bca8326bd46a2ad80b6a7a430dea0f81ff6b Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 14 Mar 2024 11:34:28 +0100 Subject: Added rubocop-minitest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- test/system/shared_searches_test.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/system/shared_searches_test.rb') diff --git a/test/system/shared_searches_test.rb b/test/system/shared_searches_test.rb index 0cfc4bd..6828dbe 100644 --- a/test/system/shared_searches_test.rb +++ b/test/system/shared_searches_test.rb @@ -7,9 +7,11 @@ class SharedSearchesTest < ApplicationSystemTestCase sign_in! find('#toggle-hidden-global-menu').click + assert_text I18n.t('searches.shared.title').downcase click_on I18n.t('searches.shared.title').downcase + assert_text I18n.t('searches.shared.none') end @@ -17,8 +19,9 @@ class SharedSearchesTest < ApplicationSystemTestCase sign_out_maybe! visit shared_searches_path + assert_text I18n.t('sessions.title') - assert page.current_path == new_sessions_path + assert_equal page.current_path, new_sessions_path end test 'shared_searches#show gives us the expected results' do @@ -27,6 +30,7 @@ class SharedSearchesTest < ApplicationSystemTestCase searches(:search1).update!(shared: true) visit search_shared_path(searches(:search1)) + assert_text things(:thing1).title assert_text things(:thing2).title assert_text I18n.t('comments.title') -- cgit v1.2.3