Method: GdsApi::TestHelpers::AccountApi#stub_account_api_match_user_by_email_does_not_exist

Defined in:
lib/gds_api/test_helpers/account_api.rb

#stub_account_api_match_user_by_email_does_not_exist(email:, **options) ⇒ Object



130
131
132
133
134
135
136
137
# File 'lib/gds_api/test_helpers/account_api.rb', line 130

def (email:, **options)
  (
    :get,
    "/api/user/match-by-email?#{Rack::Utils.build_nested_query({ email: })}",
    response_status: 404,
    **options,
  )
end