Replace deprecated .trigger('click') API with .click

This commit is contained in:
Angel Perez
2018-03-08 14:33:09 -04:00
parent 6a55b720b8
commit 38af45d450
12 changed files with 42 additions and 42 deletions

View File

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