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/exports_test.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/system/exports_test.rb') diff --git a/test/system/exports_test.rb b/test/system/exports_test.rb index b324321..fea3dad 100644 --- a/test/system/exports_test.rb +++ b/test/system/exports_test.rb @@ -9,11 +9,13 @@ class ExportsTest < ApplicationSystemTestCase test 'can access exports from the hidden menu' do find('#toggle-hidden-global-menu').click + assert_text I18n.t('searches.export.action') click_on I18n.t('searches.export.action') + assert_text I18n.t('searches.export.note-msg') - assert page.current_path == new_search_exports_path(0) + assert_equal page.current_path, new_search_exports_path(0) end test 'can export using multiple formats' do @@ -22,6 +24,7 @@ class ExportsTest < ApplicationSystemTestCase assert find('#export-format-button')[:href].ends_with?('/searches/0/exports.csv') find('#export-select-format').select('UOC') + assert find('#export-format-button')[:href].ends_with?('/searches/0/exports.uoc') end end -- cgit v1.2.3