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

require 'rails_helper'

describe Auth::ConfirmationsController, 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