test/test_helper.rb in dm-devise-1.2.0.beta vs test/test_helper.rb in dm-devise-1.2.0.rc

- old
+ new

@@ -2,22 +2,22 @@ DEVISE_ORM = (ENV["DEVISE_ORM"] || :data_mapper).to_sym DEVISE_PATH = ENV['DEVISE_PATH'] puts "\n==> Devise.orm = #{DEVISE_ORM.inspect}" +require 'dm-migrations' 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' +require 'webrat' Webrat.configure do |config| config.mode = :rails config.open_error_files = false end - -Devise::OmniAuth.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 }