diff options
Diffstat (limited to 'spec/graphql/mutations/merge_requests/set_wip_spec.rb')
-rw-r--r-- | spec/graphql/mutations/merge_requests/set_wip_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/graphql/mutations/merge_requests/set_wip_spec.rb b/spec/graphql/mutations/merge_requests/set_wip_spec.rb index 490994c4577..9f0adcf117a 100644 --- a/spec/graphql/mutations/merge_requests/set_wip_spec.rb +++ b/spec/graphql/mutations/merge_requests/set_wip_spec.rb @@ -6,7 +6,7 @@ describe Mutations::MergeRequests::SetWip do let(:merge_request) { create(:merge_request) } let(:user) { create(:user) } - subject(:mutation) { described_class.new(object: nil, context: { current_user: user }) } + subject(:mutation) { described_class.new(object: nil, context: { current_user: user }, field: nil) } describe '#resolve' do let(:wip) { true } |