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

@@ -194,7 +194,7 @@ feature 'Legislation Draft Versions' do
expect(page).to have_content "my annotation"
expect(page).to have_content comment.body
all(".annotator-hl")[1].trigger('click')
all(".annotator-hl")[1].click
expect(page).to have_content "my other annotation"
end