Commit 6f80e151 authored by Ruben Davila's avatar Ruben Davila

Merge branch 'master' into 8-11-stable-ee

parents 5b82c740 cf1076a5
......@@ -14,6 +14,7 @@ describe MergeRequest, elastic: true do
it "searches merge requests" do
project = create :project
Sidekiq::Testing.inline! do
create :merge_request, title: 'bla-bla term', source_project: project
create :merge_request, description: 'term in description', source_project: project, target_branch: "feature2"
create :merge_request, source_project: project, target_branch: "feature3"
......@@ -22,6 +23,7 @@ describe MergeRequest, elastic: true do
create :merge_request, title: 'also with term'
Gitlab::Elastic::Helper.refresh_index
end
options = { project_ids: [project.id] }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment