Use strings instead of method calls in expectations

This commit is contained in:
rgarcia
2018-03-05 01:05:36 +01:00
committed by decabeza
parent 90bb06e684
commit b3978908b2

View File

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