diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-31 15:11:01 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-31 15:11:01 +0300 |
commit | f52f8542b47c9e00ddf420abaf2263de168988f9 (patch) | |
tree | 568225882da5cc4deb746d2d4fc362c6076fb708 /spec/graphql/mutations/merge_requests/update_spec.rb | |
parent | 6a5ef9b75d38f39cd2a6a2392fadfbd3b966b884 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/graphql/mutations/merge_requests/update_spec.rb')
-rw-r--r-- | spec/graphql/mutations/merge_requests/update_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/graphql/mutations/merge_requests/update_spec.rb b/spec/graphql/mutations/merge_requests/update_spec.rb index 6ced71c5f4c..c34ec939d12 100644 --- a/spec/graphql/mutations/merge_requests/update_spec.rb +++ b/spec/graphql/mutations/merge_requests/update_spec.rb @@ -153,20 +153,6 @@ RSpec.describe Mutations::MergeRequests::Update, feature_category: :team_plannin subject(:ready) { mutation.ready?(**arguments) } - context 'when required arguments are not provided' do - let(:arguments) { {} } - - it 'raises an argument error' do - expect { subject }.to raise_error(ArgumentError, 'Arguments must be provided: projectPath, iid') - end - end - - context 'when required arguments are provided' do - it 'returns true' do - expect(subject).to eq(true) - end - end - context 'when timeEstimate is provided' do let(:extra_args) { { time_estimate: time_estimate } } |