Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDirceu Pereira Tiegs <dirceutiegs@gmail.com>2015-10-15 02:14:24 +0300
committerDirceu Pereira Tiegs <dirceutiegs@gmail.com>2015-10-21 15:20:40 +0300
commitd7bcfe4fc020529f9b6ed2a75dfb2f31acded080 (patch)
tree00f1822da2a9c7083661603d11fdfbee383e966b /spec
parent976400c1e6c653ce93cd29d32a007c091a38f970 (diff)
Fix issue #3055 (project search with unmatched parentheses)
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/project_search_results_spec.rb4
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