From 4f096a005d4a16225965b93de0f03aa012936129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Fuentes?= Date: Wed, 22 Nov 2017 11:53:41 +0100 Subject: [PATCH] more style corrections --- spec/features/admin/budget_investments_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/features/admin/budget_investments_spec.rb b/spec/features/admin/budget_investments_spec.rb index 3c287593b..55b5af3ce 100644 --- a/spec/features/admin/budget_investments_spec.rb +++ b/spec/features/admin/budget_investments_spec.rb @@ -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