Two factor authentication extension for Devise
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
require 'warden' |
|
|
|
module FeaturesSpecHelper |
|
def warden |
|
request.env['warden'] |
|
end |
|
end |
|
|
|
RSpec.configure do |config| |
|
config.include Warden::Test::Helpers, type: :feature |
|
config.include FeaturesSpecHelper, type: :feature |
|
end |
|
|
|
|