Sha256: 51ee4532412364486cf8df4c893b1312563e52c64e28064a4f9b7fb9bd37f2a0
Contents?: true
Size: 630 Bytes
Versions: 4
Compression:
Stored size: 630 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 Devise::Oauth.test_mode! # 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
dm-devise-1.1.4 | test/test_helper.rb |
dm-devise-1.1.3 | test/test_helper.rb |
dm-devise-1.1.2 | test/test_helper.rb |
dm-devise-1.1.1 | test/test_helper.rb |