mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-19 09:36:47 +10:00
Fix issue #3055 (project search with unmatched parentheses)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user