diff options
Diffstat (limited to 'spec/graphql/mutations/ci')
-rw-r--r-- | spec/graphql/mutations/ci/runner/delete_spec.rb | 8 | ||||
-rw-r--r-- | spec/graphql/mutations/ci/runner/update_spec.rb | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/spec/graphql/mutations/ci/runner/delete_spec.rb b/spec/graphql/mutations/ci/runner/delete_spec.rb index ee640b21918..06d360430f8 100644 --- a/spec/graphql/mutations/ci/runner/delete_spec.rb +++ b/spec/graphql/mutations/ci/runner/delete_spec.rb @@ -44,14 +44,6 @@ RSpec.describe Mutations::Ci::Runner::Delete do end end - context 'with invalid params' do - let(:mutation_params) { { id: "invalid-id" } } - - it 'raises an error' do - expect { subject }.to raise_error(::GraphQL::CoercionError) - end - end - context 'when required arguments are missing' do let(:mutation_params) { {} } diff --git a/spec/graphql/mutations/ci/runner/update_spec.rb b/spec/graphql/mutations/ci/runner/update_spec.rb index 0b3489d37dc..75e9b57e60a 100644 --- a/spec/graphql/mutations/ci/runner/update_spec.rb +++ b/spec/graphql/mutations/ci/runner/update_spec.rb @@ -33,14 +33,6 @@ RSpec.describe Mutations::Ci::Runner::Update do end end - context 'with invalid params' do - it 'raises an error' do - mutation_params[:id] = "invalid-id" - - expect { subject }.to raise_error(::GraphQL::CoercionError) - end - end - context 'when required arguments are missing' do let(:mutation_params) { {} } |