Commit bd1c384c authored by Dmytro Zaporozhets's avatar Dmytro Zaporozhets

Merge branch 'pl-spec-requests-api-graphql-mrs' into 'master'

Speed up API GraphQL specs for Merge Requests

See merge request gitlab-org/gitlab!33295
parents 26f1bd72 ddf9dc25
......@@ -42,7 +42,7 @@ describe 'getting merge request listings nested in a project' do
# all the gitaly calls. Selecting combinations of fields may mask this due to
# memoization.
context 'requesting a single field' do
let(:fresh_mr) { create(:merge_request, :unique_branches, source_project: project) }
let_it_be(:fresh_mr) { create(:merge_request, :unique_branches, source_project: project) }
let(:search_params) { { iids: [fresh_mr.iid.to_s] } }
before do
......
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