Fix issue #3055 (project search with unmatched parentheses)

This commit is contained in:
Dirceu Pereira Tiegs
2015-10-21 10:20:40 -02:00
parent 976400c1e6
commit d7bcfe4fc0
3 changed files with 4 additions and 4 deletions
@@ -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