Sha256: 0e13b4d94bf43a8031a0f1099ea1c38437a9bd83c5ffd6f682542318081594c1
Contents?: true
Size: 1018 Bytes
Versions: 5
Compression:
Stored size: 1018 Bytes
Contents
# frozen_string_literal: true 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 "rails_app/config/environment" require "rails/test_help" require "orm/#{DEVISE_ORM}" I18n.load_path << File.expand_path("../support/locale/en.yml", __FILE__) require 'mocha/setup' require 'webrat' Webrat.configure do |config| config.mode = :rails config.open_error_files = false end if ActiveSupport.respond_to?(:test_order) ActiveSupport.test_order = :random end OmniAuth.config.logger = Logger.new('/dev/null') # Add support to load paths so we can overwrite broken webrat setup $:.unshift File.expand_path('../support', __FILE__) Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # For generators require "rails/generators/test_case" require "generators/devise/install_generator" require "generators/devise/views_generator" require "generators/devise/controllers_generator"
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
devise-4.5.0 | test/test_helper.rb |
devise-4.4.3 | test/test_helper.rb |
devise-4.4.2 | test/test_helper.rb |
devise-4.4.1 | test/test_helper.rb |
devise-4.4.0 | test/test_helper.rb |