improves message when not enough money

This commit is contained in:
decabeza
2017-05-26 17:12:21 +02:00
parent a49b206b42
commit 0e581896c0
5 changed files with 9 additions and 6 deletions

View File

@@ -712,7 +712,7 @@ describe Budget::Investment do
ballot = create(:budget_ballot, user: user, budget: budget)
ballot.investments << inv1
expect(inv2.reason_for_not_being_ballotable_by(user, ballot)).to eq(:not_enough_money)
expect(inv2.reason_for_not_being_ballotable_by(user, ballot)).to eq(:not_enough_money_html)
end
end