Sha256: c24c5fcfaf4e299ba027d9372d10c688b01f605b834ac51f7cd752040ee2d9cc
Contents?: true
Size: 511 Bytes
Versions: 2
Compression:
Stored size: 511 Bytes
Contents
ENV['RAILS_ENV'] = 'test' DEVISE_ORM = (ENV['DEVISE_ORM'] || :active_record).to_sym $LOAD_PATH.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' I18n.load_path << File.expand_path("../support/locale/en.yml", __FILE__) if DEVISE_ORM == :mongoid MiniTest::Reporters.use! class ActionDispatch::IntegrationTest include Capybara::DSL end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
devise-2fa-0.1.1 | test/test_helper.rb |
devise-2fa-0.1.0 | test/test_helper.rb |