diff options
Diffstat (limited to 'spec/graphql/mutations/clusters/agents')
-rw-r--r-- | spec/graphql/mutations/clusters/agents/delete_spec.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/graphql/mutations/clusters/agents/delete_spec.rb b/spec/graphql/mutations/clusters/agents/delete_spec.rb index 0aabf53391a..e0ecff5fe44 100644 --- a/spec/graphql/mutations/clusters/agents/delete_spec.rb +++ b/spec/graphql/mutations/clusters/agents/delete_spec.rb @@ -38,14 +38,5 @@ RSpec.describe Mutations::Clusters::Agents::Delete do expect { cluster_agent.reload }.to raise_error(ActiveRecord::RecordNotFound) end end - - context 'with invalid params' do - subject { mutation.resolve(id: cluster_agent.id) } - - it 'raises an error if the cluster agent id is invalid', :aggregate_failures do - expect { subject }.to raise_error(::GraphQL::CoercionError) - expect { cluster_agent.reload }.not_to raise_error - end - end end end |