mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
parent
9682bec7b4
commit
c8af85d51e
3 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@
|
|||
= t(:clear_fields)
|
||||
.row
|
||||
.col-md-2
|
||||
= button_tag t('.export_csv_btn'), class: 'btn btn-primary export-domains-csv-btn',
|
||||
= button_tag t('.download_btn'), class: 'btn btn-primary export-domains-csv-btn',
|
||||
formaction: registrar_domains_path(format: 'csv')
|
||||
%hr
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ en:
|
|||
registrar:
|
||||
domains:
|
||||
index:
|
||||
export_csv_btn: Export CSV
|
||||
download_btn: Download
|
||||
csv:
|
||||
domain_name: Domain
|
||||
registrant_name: Registrant name
|
||||
|
|
|
@ -9,6 +9,6 @@ RSpec.feature 'CSV Export' do
|
|||
|
||||
scenario 'exports csv' do
|
||||
visit registrar_domains_url
|
||||
click_button t('registrar.domains.index.export_csv_btn')
|
||||
click_link_or_button 'Download'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue