Commit e354292a authored by Stan Hu's avatar Stan Hu

Merge branch 'lucyfox-master-patch-32014' into 'master'

change a to an

See merge request gitlab-org/gitlab!38025
parents 1f711ed7 79a2fbfb
...@@ -12,7 +12,7 @@ RSpec.describe Projects::Security::NetworkPoliciesController do ...@@ -12,7 +12,7 @@ RSpec.describe Projects::Security::NetworkPoliciesController do
let_it_be(:action_params) { { project_id: project, namespace_id: project.namespace, environment_id: environment.id } } let_it_be(:action_params) { { project_id: project, namespace_id: project.namespace, environment_id: environment.id } }
shared_examples 'CRUD service errors' do shared_examples 'CRUD service errors' do
context 'with a error service response' do context 'with an error service response' do
before do before do
allow(service).to receive(:execute) { ServiceResponse.error(http_status: :bad_request, message: 'error') } allow(service).to receive(:execute) { ServiceResponse.error(http_status: :bad_request, message: 'error') }
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment