From 8457cb1d18a4db2bf07d61f882b77446808bffdb Mon Sep 17 00:00:00 2001 From: dinsmol Date: Thu, 12 Aug 2021 12:18:42 +0300 Subject: [PATCH] fixed test --- test/system/admin_area/domains/csv_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/system/admin_area/domains/csv_test.rb b/test/system/admin_area/domains/csv_test.rb index 7d4b44124..c84e2cf0e 100644 --- a/test/system/admin_area/domains/csv_test.rb +++ b/test/system/admin_area/domains/csv_test.rb @@ -12,7 +12,7 @@ class AdminAreaCsvTest < ApplicationSystemTestCase travel_to Time.zone.parse('2010-07-05 10:30') visit admin_domains_url click_link('CSV') - assert_equal "attachment; filename=\"domains.csv\"; filename*=UTF-8''domains.csv", response_headers['Content-Disposition'] + assert_equal "attachment; filename=\"domains_#{Time.zone.now.to_formatted_s(:number)}.csv\"; filename*=UTF-8''domains_#{Time.zone.now.to_formatted_s(:number)}.csv", response_headers['Content-Disposition'] assert_equal expected_csv, page.body end end