Sha256: 787d88b12b06faeaf2def2760cde057b7c051e98fcc4239417c8d26c1cfb9edd
Contents?: true
Size: 660 Bytes
Versions: 3
Compression:
Stored size: 660 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 "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' 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 File.expand_path('../support', __FILE__) Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
Version data entries
3 entries across 3 versions & 3 rubygems
Version | Path |
---|---|
aihs_devise-1.2.rc | test/test_helper.rb |
gonow-devise-1.2.rc | test/test_helper.rb |
devise-edge-1.2.rc | test/test_helper.rb |