# 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