mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-09 14:58:05 -05:00
Get all tests passing for ActiveRecord and allow MongoMapper tests to run.
This commit is contained in:
@@ -2,9 +2,11 @@ ENV["RAILS_ENV"] = "test"
|
||||
DEVISE_ORM = (ENV["DEVISE_ORM"] || :active_record).to_sym
|
||||
|
||||
puts "\n==> Devise.orm = #{DEVISE_ORM.inspect}"
|
||||
|
||||
require File.expand_path('../rails_app/config/application', __FILE__)
|
||||
require File.expand_path("../orm/#{DEVISE_ORM}", __FILE__)
|
||||
|
||||
require "mocha"
|
||||
require 'mocha'
|
||||
|
||||
ActionMailer::Base.delivery_method = :test
|
||||
ActionMailer::Base.perform_deliveries = true
|
||||
|
||||
Reference in New Issue
Block a user