Tests fix

This commit is contained in:
Phil Hughes 2016-11-14 10:34:10 +00:00
parent 5229a16496
commit 03a235783f

View file

@ -20,7 +20,7 @@ feature 'GFM autocomplete', feature: true, js: true do
find('#note_note').native.send_keys('@') find('#note_note').native.send_keys('@')
end end
expect(page).to have_selector('.atwho-view') expect(page).to have_selector('.atwho-container')
end end
it 'opens autocomplete menu when field is prefixed with non-text character' do it 'opens autocomplete menu when field is prefixed with non-text character' do
@ -29,7 +29,7 @@ feature 'GFM autocomplete', feature: true, js: true do
find('#note_note').native.send_keys('@') find('#note_note').native.send_keys('@')
end end
expect(page).to have_selector('.atwho-view') expect(page).to have_selector('.atwho-container')
end end
it 'doesnt open autocomplete menu character is prefixed with text' do it 'doesnt open autocomplete menu character is prefixed with text' do