Fixes incorrect implementation of add_to_ballot common action

This commit is contained in:
kikito
2016-12-23 18:34:42 +01:00
parent 9e0007ba35
commit 4589ba5f0b

View File

@@ -278,7 +278,9 @@ module CommonActions
def add_to_ballot(budget_investment)
within("#budget_investment_#{budget_investment.id}") do
click_link "Spend money on this"#find('.add a').trigger('click')
find('.add a').trigger('click')
expect(page).to have_content "Remove"
end
end
end