From b3978908b2e5cd791c9e159a559de7a7f6d3cd0e Mon Sep 17 00:00:00 2001 From: rgarcia Date: Mon, 5 Mar 2018 01:05:36 +0100 Subject: [PATCH] Use strings instead of method calls in expectations --- spec/features/budgets/investments_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/budgets/investments_spec.rb b/spec/features/budgets/investments_spec.rb index 4347fb212..dbc82ba31 100644 --- a/spec/features/budgets/investments_spec.rb +++ b/spec/features/budgets/investments_spec.rb @@ -1006,7 +1006,7 @@ feature 'Budget Investments' do visit budget_investment_path(budget_id: budget.id, id: investment.id) expect(page).not_to have_content("Unfeasibility explanation") - expect(page).not_to have_content(investment.unfeasibility_explanation) + expect(page).not_to have_content("Local government is not competent in this matter") end scenario "Show milestones", :js do