fixes specs

This commit is contained in:
rgarcia
2016-07-27 11:33:59 +02:00
parent 7172e5a23d
commit 7fee1e43ff
2 changed files with 38 additions and 22 deletions

View File

@@ -196,4 +196,9 @@ module CommonActions
tag_cloud.tags.map(&:name)
end
def add_to_ballot(budget_investment)
within("#budget_investment_#{budget_investment.id}") do
click_link "Spend money on this"#find('.add a').trigger('click')
end
end
end