more style corrections
This commit is contained in:
@@ -636,8 +636,8 @@ feature 'Admin budget investments' do
|
||||
visit admin_budget_budget_investments_path(@budget, format: :csv)
|
||||
|
||||
header = page.response_headers['Content-Disposition']
|
||||
header.should match /^attachment/
|
||||
header.should match /filename="budget_investments.csv"$/
|
||||
header.should match(/^attachment/)
|
||||
header.should match(/filename="budget_investments.csv"$/)
|
||||
|
||||
expect(page).to have_content investment2.title
|
||||
expect(page).to have_content investment1.title
|
||||
|
||||
Reference in New Issue
Block a user