summaryrefslogtreecommitdiff
path: root/spec/support/shared_examples/controllers/update_invalid_issuable_shared_examples.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/shared_examples/controllers/update_invalid_issuable_shared_examples.rb')
-rw-r--r--spec/support/shared_examples/controllers/update_invalid_issuable_shared_examples.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared_examples/controllers/update_invalid_issuable_shared_examples.rb b/spec/support/shared_examples/controllers/update_invalid_issuable_shared_examples.rb
index 224cf45ebb3..4a0d5b755db 100644
--- a/spec/support/shared_examples/controllers/update_invalid_issuable_shared_examples.rb
+++ b/spec/support/shared_examples/controllers/update_invalid_issuable_shared_examples.rb
@@ -39,7 +39,7 @@ RSpec.shared_examples 'update invalid issuable' do |klass|
put :update, params: params
- expect(response.status).to eq(409)
+ expect(response).to have_gitlab_http_status(:conflict)
expect(json_response).to have_key('errors')
end
end