blob: 9df49b1afe629bf79e1dca2781e671172119c4a3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# frozen_string_literal: true
RSpec.shared_examples 'a POST request that requires a master user' do
context 'with a regular user' do
it 'returns 403 http status' do
post(route, params:, headers:)
expect(response).to have_http_status(403)
end
end
end
|