Sha256: 254b8d72eaeeec7c6ccbc96dad535fa9886d6dacba7a4b44efdfd3c53dc405f2

Contents?: true

Size: 587 Bytes

Versions: 7

Compression:

Stored size: 587 Bytes

Contents

ENV["RAILS_ENV"] = "test"
DEVISE_ORM = (ENV["DEVISE_ORM"] || :active_record).to_sym

$:.unshift File.dirname(__FILE__)
puts "\n==> Devise.orm = #{DEVISE_ORM.inspect}"
require "dummy/config/environment"
require "orm/#{DEVISE_ORM}"
require 'rails/test_help'
require 'capybara/rails'
require 'minitest/reporters'

MiniTest::Reporters.use!

#I18n.load_path << File.expand_path("../support/locale/en.yml", __FILE__) if DEVISE_ORM == :mongoid

#ActiveSupport::Deprecation.silenced = true

#Capybara.default_driver = :selenium

class ActionDispatch::IntegrationTest
  include Capybara::DSL
end

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
devise-otp2-0.2.6 test/test_helper.rb
devise-otp2-0.2.5 test/test_helper.rb
devise-otp2-0.2.4 test/test_helper.rb
devise-otp-rails5-0.2.4 test/test_helper.rb
devise-otp-0.2.3 test/test_helper.rb
devise-otp-0.2.2 test/test_helper.rb
devise-otp-0.2.0 test/test_helper.rb