Method: GdsApi::TestHelpers::AccountApi#stub_account_api_forbidden_set_attributes
- Defined in:
- lib/gds_api/test_helpers/account_api.rb
#stub_account_api_forbidden_set_attributes(attributes: nil, **options) ⇒ Object
230 231 232 233 234 235 236 237 238 |
# File 'lib/gds_api/test_helpers/account_api.rb', line 230 def stub_account_api_forbidden_set_attributes(attributes: nil, **) stub_account_api_request( :patch, "/api/attributes", with: { body: hash_including({ attributes: }.compact) }, response_status: 403, **, ) end |