Commit ddf9dc25 authored by Peter Leitzen's avatar Peter Leitzen

Speed up API GraphQL specs for Merge Requests

parent 19b78d28
......@@ -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