Use mouse over event in spec

This commit is contained in:
Amaia Castro
2017-01-10 18:30:30 +01:00
parent 87a548a298
commit 1966c5b8fd

View File

@@ -155,7 +155,7 @@ feature 'Legislation Draft Versions' do
first(:css, ".annotator-hl").click
expect(page).to have_content "my annotation"
all(".annotator-hl")[1].trigger('click')
all(".annotator-hl")[1].trigger('mouseover')
expect(page).to have_content "my other annotation"
end
end