diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-10-25 11:55:14 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-10-25 11:55:14 +0100 |
commit | b6f8d0100e55b8138f53155c35bc0e9b3ebc56af (patch) | |
tree | 23b32aa7b2286a66131d5c4ad5e4d505bf9cf3f9 /spec | |
parent | 9b937046144f467649c966a2a1979050cd826f3e (diff) | |
parent | d7bcfe4fc020529f9b6ed2a75dfb2f31acded080 (diff) | |
download | gitlab-ce-b6f8d0100e55b8138f53155c35bc0e9b3ebc56af.tar.gz |
Merge branch 'dirceu/gitlab-ce-fix-project-search-with-unmatched-parentheses'
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/project_search_results_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/project_search_results_spec.rb b/spec/lib/gitlab/project_search_results_spec.rb index 32a25f08cac..19327ac8ce0 100644 --- a/spec/lib/gitlab/project_search_results_spec.rb +++ b/spec/lib/gitlab/project_search_results_spec.rb @@ -9,7 +9,7 @@ describe Gitlab::ProjectSearchResults do it { expect(results.project).to eq(project) } it { expect(results.repository_ref).to be_nil } - it { expect(results.query).to eq('hello\\ world') } + it { expect(results.query).to eq('hello world') } end describe 'initialize with ref' do @@ -18,6 +18,6 @@ describe Gitlab::ProjectSearchResults do it { expect(results.project).to eq(project) } it { expect(results.repository_ref).to eq(ref) } - it { expect(results.query).to eq('hello\\ world') } + it { expect(results.query).to eq('hello world') } end end |