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 (attributes: nil, **options)
  (
    :patch,
    "/api/attributes",
    with: { body: hash_including({ attributes: }.compact) },
    response_status: 403,
    **options,
  )
end