about summary refs log tree commit diff
path: root/spec/controllers/auth/passwords_controller_spec.rb
blob: 60b225efaed5065d278ee438fdff2c12e28cfa34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'rails_helper'

describe Auth::PasswordsController, type: :controller do
  describe 'GET #new' do
    it 'returns http success' do
      @request.env['devise.mapping'] = Devise.mappings[:user]
      get :new
      expect(response).to have_http_status(:success)
    end
  end
end