more style corrections

This commit is contained in:
Raúl Fuentes
2017-11-22 11:53:41 +01:00
parent d7cc5d14c6
commit 4f096a005d

View File

@@ -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