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

- old
+ new

@@ -14,8 +14,15 @@ 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 } + +# For generators +require "rails/generators/test_case" +require "generators/devise/install_generator" +require "generators/devise/views_generator"