Commit 66990906 authored by Valery Sizov's avatar Valery Sizov

Fix snippet search specs

parent e4853f21
......@@ -17,7 +17,7 @@ describe 'Snippet elastic search', :js, :elastic do
visit explore_snippets_path
fill_in 'search', with: 'Test'
click_button 'Go'
find('#search').native.send_keys(:enter)
expect(page).to have_content('Test searching for personal snippets')
end
......@@ -27,7 +27,7 @@ describe 'Snippet elastic search', :js, :elastic do
visit explore_snippets_path
fill_in 'search', with: 'Test'
click_button 'Go'
find('#search').native.send_keys(:enter)
expect(page).to have_content('Test searching for personal snippets')
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment