Tests passing for ActiveRecord and MongoMapper.

This commit is contained in:
José Valim
2009-12-21 21:10:23 +01:00
parent 947de72617
commit 35a8d13369
14 changed files with 59 additions and 39 deletions

View File

@@ -2,6 +2,8 @@ require 'rubygems'
ENV["RAILS_ENV"] = "test"
DEVISE_ORM = (ENV["DEVISE_ORM"] || :active_record).to_sym
puts "\n==> Devise.orm = #{DEVISE_ORM.inspect}"
require File.join(File.dirname(__FILE__), 'orm', DEVISE_ORM.to_s)
require 'webrat'