Sha256: f45ca3e565a98efbcafc137f6506f2b8e5cb279c6319464bc249fbffc90b2681
Contents?: true
Size: 604 Bytes
Versions: 5
Compression:
Stored size: 604 Bytes
Contents
ENV["RAILS_ENV"] = "test" DEVISE_ORM = (ENV["DEVISE_ORM"] || :data_mapper).to_sym DEVISE_PATH = ENV['DEVISE_PATH'] puts "\n==> Devise.orm = #{DEVISE_ORM.inspect}" require "rails_app/config/environment" require "rails/test_help" require "orm/#{DEVISE_ORM}" I18n.load_path << "#{DEVISE_PATH}/test/support/locale/en.yml" require 'mocha' Webrat.configure do |config| config.mode = :rails config.open_error_files = false end # Add support to load paths so we can overwrite broken webrat setup $:.unshift "#{DEVISE_PATH}/test/support" Dir["#{DEVISE_PATH}/test/support/**/*.rb"].each { |f| require f }
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
dm-devise-1.1.8 | test/test_helper.rb |
dm-devise-1.1.6 | test/test_helper.rb |
dm-devise-1.1.5 | test/test_helper.rb |
dm-devise-1.1.0 | test/test_helper.rb |
dm-devise-0.1.0 | test/test_helper.rb |