File size: 392 Bytes
38367b5
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'rails_helper'

RSpec.describe "Devise Authentication", type: :feature do
  describe "devise_for configuration" do
    it "user model has devise configured" do
      expect(User.devise_modules).to include(:database_authenticatable)
    end

    it "user model has jwt_authenticatable configured" do
      expect(User.devise_modules).to include(:jwt_authenticatable)
    end
  end
end