mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 05:34:46 +02:00
Update file download HTTP headers in test
This commit is contained in:
parent
1575cf5ea1
commit
155b6e98cb
7 changed files with 11 additions and 11 deletions
|
@ -15,7 +15,7 @@ class RegistrarDomainsTest < ApplicationSystemTestCase
|
|||
|
||||
visit registrar_domains_url
|
||||
click_button 'Download CSV'
|
||||
assert_equal 'attachment; filename="Domains_2010-07-05_10.30.csv"', response_headers['Content-Disposition']
|
||||
assert_equal "attachment; filename=\"Domains_2010-07-05_10.30.csv\"; filename*=UTF-8''Domains_2010-07-05_10.30.csv", response_headers['Content-Disposition']
|
||||
assert_equal expected_csv, page.body
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue