blob: 6c450881efeb42cc25a96e543dbdad69bf7924e5 (
plain)
1
2
3
4
5
6
7
8
9
|
# frozen_string_literal: true
RSpec.shared_examples 'returning response status' do |status|
it "returns #{status}" do
subject
expect(response).to have_gitlab_http_status(status)
end
end
|