Sha256: ba31ad624862c9e0d8bc1b818adb23f95f67557694a0c38c7230e2153fd98e74
Contents?: true
Size: 657 Bytes
Versions: 7
Compression:
Stored size: 657 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 config.before(:each, :type => :controller) do |example| @request.env['devise.mapping'] = Devise.mappings[:user] end end rescue LoadError end
Version data entries
7 entries across 7 versions & 1 rubygems