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 ...@@ -17,7 +17,7 @@ describe 'Snippet elastic search', :js, :elastic do
visit explore_snippets_path visit explore_snippets_path
fill_in 'search', with: 'Test' fill_in 'search', with: 'Test'
click_button 'Go' find('#search').native.send_keys(:enter)
expect(page).to have_content('Test searching for personal snippets') expect(page).to have_content('Test searching for personal snippets')
end end
...@@ -27,7 +27,7 @@ describe 'Snippet elastic search', :js, :elastic do ...@@ -27,7 +27,7 @@ describe 'Snippet elastic search', :js, :elastic do
visit explore_snippets_path visit explore_snippets_path
fill_in 'search', with: 'Test' fill_in 'search', with: 'Test'
click_button 'Go' find('#search').native.send_keys(:enter)
expect(page).to have_content('Test searching for personal snippets') expect(page).to have_content('Test searching for personal snippets')
end 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