diff options
Diffstat (limited to 'spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb')
-rw-r--r-- | spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb b/spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb index cf113c30ba6..be8b767bfd4 100644 --- a/spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb +++ b/spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe 'Setting assignees of a merge request' do +RSpec.describe 'Setting assignees of a merge request', :clean_gitlab_redis_shared_state do include GraphqlHelpers let_it_be(:project) { create(:project, :repository) } @@ -46,6 +46,8 @@ RSpec.describe 'Setting assignees of a merge request' do end def run_mutation! + post_graphql_mutation(mutation, current_user: current_user) # warm-up + recorder = ActiveRecord::QueryRecorder.new do post_graphql_mutation(mutation, current_user: current_user) end |