diff options
Diffstat (limited to 'spec/graphql/mutations/ci/runner')
-rw-r--r-- | spec/graphql/mutations/ci/runner/delete_spec.rb | 2 | ||||
-rw-r--r-- | spec/graphql/mutations/ci/runner/update_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/graphql/mutations/ci/runner/delete_spec.rb b/spec/graphql/mutations/ci/runner/delete_spec.rb index f19fa7c34a9..beff18e1dfd 100644 --- a/spec/graphql/mutations/ci/runner/delete_spec.rb +++ b/spec/graphql/mutations/ci/runner/delete_spec.rb @@ -48,7 +48,7 @@ RSpec.describe Mutations::Ci::Runner::Delete, feature_category: :runner_fleet do let(:mutation_params) { {} } it 'raises an error' do - expect { subject }.to raise_error(ArgumentError, "Arguments must be provided: id") + expect { subject }.to raise_error(ArgumentError, "missing keyword: :id") end end diff --git a/spec/graphql/mutations/ci/runner/update_spec.rb b/spec/graphql/mutations/ci/runner/update_spec.rb index 02bb7ee2170..03bfd4d738b 100644 --- a/spec/graphql/mutations/ci/runner/update_spec.rb +++ b/spec/graphql/mutations/ci/runner/update_spec.rb @@ -42,7 +42,7 @@ RSpec.describe Mutations::Ci::Runner::Update, feature_category: :runner_fleet do let(:mutation_params) { {} } it 'raises an error' do - expect { response }.to raise_error(ArgumentError, "Arguments must be provided: id") + expect { response }.to raise_error(ArgumentError, "missing keyword: :id") end end |