summaryrefslogtreecommitdiff
path: root/spec/features/search
diff options
context:
space:
mode:
authorHeinrich Lee Yu <heinrich@gitlab.com>2019-04-26 23:51:05 +0800
committerHeinrich Lee Yu <heinrich@gitlab.com>2019-06-12 18:40:18 +0800
commit96ed5a8bd78f90b0c7a8b044c4bd99e3af46dd71 (patch)
treedf517f916e5bfcbf1420c092ebf55ac3e1bab5ee /spec/features/search
parent06e89d786c4ac67d9262c576b9aadb7d40dee9c2 (diff)
downloadgitlab-ce-96ed5a8bd78f90b0c7a8b044c4bd99e3af46dd71.tar.gz
Upgrade to Capybara 3
Fix whitespace in specs because normalize_ws is slightly different from Capybara 2 behavior
Diffstat (limited to 'spec/features/search')
-rw-r--r--spec/features/search/user_searches_for_commits_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/search/user_searches_for_commits_spec.rb b/spec/features/search/user_searches_for_commits_spec.rb
index 28cae444588..998f8521384 100644
--- a/spec/features/search/user_searches_for_commits_spec.rb
+++ b/spec/features/search/user_searches_for_commits_spec.rb
@@ -35,7 +35,7 @@ describe 'User searches for commits' do
fill_in('search', with: 'deadbeef')
click_button('Search')
- expect(page).to have_current_path('/search', only_path: true)
+ expect(page).to have_current_path('/search', ignore_query: true)
end
it 'finds multiple commits' do