Added GFM tests

This commit is contained in:
Phil Hughes 2016-12-12 14:32:03 +00:00
parent e1f563109c
commit 48f24735a8
1 changed files with 8 additions and 0 deletions

View File

@ -40,4 +40,12 @@ feature 'GFM autocomplete', feature: true, js: true do
expect(page).not_to have_selector('.atwho-view')
end
it 'doesnt open autocomplete after non-word character' do
page.within '.timeline-content-form' do
find('#note_note').native.send_keys("@#{user.username[0..2]}!")
end
expect(page).not_to have_selector('.atwho-view')
end
end