Sha256: 7280619cd9e29de8e709a1e50649b1ee2dbcc858d557cf4231e6c8f8ad5010e8

Contents?: true

Size: 526 Bytes

Versions: 2

Compression:

Stored size: 526 Bytes

Contents

##############################################################################
#                               Devise Plugin
##############################################################################

begin
  require 'devise'

  Devise.stretches = 1

  RSpec.configure do |config|
    config.include Devise::TestHelpers,   :type => :controller
    config.include Warden::Test::Helpers, :type => :feature

    config.before(:suite, :type => :feature) do |example|
      Warden.test_mode!
    end
  end
rescue LoadError
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspectacular-0.25.0 lib/rspectacular/plugins/devise.rb
rspectacular-0.24.0 lib/rspectacular/plugins/devise.rb