confirmations_controller_spec.rb 322 B

12345678910111213
  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. describe Auth::ConfirmationsController, type: :controller do
  4. describe 'GET #new' do
  5. it 'returns http success' do
  6. @request.env['devise.mapping'] = Devise.mappings[:user]
  7. get :new
  8. expect(response).to have_http_status(:success)
  9. end
  10. end
  11. end