Replace deprecated .trigger('mouseover') API with .hover

This commit is contained in:
Angel Perez
2018-03-09 08:01:06 -04:00
parent 5c53466e86
commit 375c43b5f1

View File

@@ -557,7 +557,7 @@ feature 'Ballots' do
add_to_ballot(bi1)
within("#budget_investment_#{bi2.id}") do
find("div.ballot").trigger("mouseover")
find("div.ballot").hover
expect(page).to have_content('You have already assigned the available budget')
expect(page).to have_selector('.in-favor a', visible: false)
end