Sha256: cea3beda30211aecefa80c5abdf299bdcf0e4b25534b819f2a3ceb2d913b1a7b
Contents?: true
Size: 869 Bytes
Versions: 16
Compression:
Stored size: 869 Bytes
Contents
require 'test_helper' require 'workarea/api/documentation_test' module Workarea module Api module Storefront class PasswordResetsDocumentationTest < DocumentationTest resource 'Password Resets' def test_and_document_create description 'Sending a forgot password email' route storefront_api.password_resets_path explanation <<-EOS This will send a password reset email to the email address if there is an account. The email will contain a link to the site where the password reset can be completed. EOS record_request do post storefront_api.password_resets_path, as: :json, params: { email: create_user.email } assert_equal(200, response.status) end end end end end end
Version data entries
16 entries across 16 versions & 2 rubygems