Method: GdsApi::TestHelpers::AccountApi#stub_account_api_match_user_by_email_does_not_match

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

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



119
120
121
122
123
124
125
126
127
128
# File 'lib/gds_api/test_helpers/account_api.rb', line 119

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