diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2024-03-14 11:34:28 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2024-03-14 14:09:11 +0100 |
| commit | 64e2bca8326bd46a2ad80b6a7a430dea0f81ff6b (patch) | |
| tree | bf4d1894c45471ee1d38b6292b87e356737f2fb6 /test/system/exports_test.rb | |
| parent | 90feff2bfcbdb5586a459c2350a4172a4423668e (diff) | |
| download | operum-64e2bca8326bd46a2ad80b6a7a430dea0f81ff6b.tar.gz operum-64e2bca8326bd46a2ad80b6a7a430dea0f81ff6b.zip | |
Added rubocop-minitest
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'test/system/exports_test.rb')
| -rw-r--r-- | test/system/exports_test.rb | 5 |
1 files changed, 4 insertions, 1 deletions
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 |
