Sha256: aed9dd2dff2121622c7c01ae91d528be3b6e4b8dcbe50889302f6edb50377963

Contents?: true

Size: 562 Bytes

Versions: 36

Compression:

Stored size: 562 Bytes

Contents

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'
require 'mocha'

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

ActionMailer::Base.delivery_method = :test
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.default_url_options[:host] = 'test.com'

Webrat.configure do |config|
  config.mode = :rails
  config.open_error_files = false
end

Version data entries

36 entries across 31 versions & 7 rubygems

Version Path
graffititracker_devise-1.0.11 test/test_helper.rb
devise-1.0.11 test/test_helper.rb
devise-1.0.10 test/test_helper.rb
devise_ennder-1.4.1.0.9 test/rails_app/vendor/plugins/devise/test/test_helper.rb
devise_ennder-1.4.1.0.9 test/test_helper.rb
devise_ennder-1.3.1.0.9 test/rails_app/vendor/plugins/devise/test/test_helper.rb
devise_ennder-1.3.1.0.9 test/test_helper.rb
devise_ennder-1.2.1.0.9 test/test_helper.rb
devise_ennder-1.2.1.0.9 test/rails_app/vendor/plugins/devise/test/test_helper.rb
devise_ennder-1.1.1.0.9 test/test_helper.rb
devise_ennder-1.1.1.0.9 test/rails_app/vendor/plugins/devise/test/test_helper.rb
devise_ennder-1.0.1.0.9 test/test_helper.rb
devise_ennder-1.0.1.0.9 test/rails_app/vendor/plugins/devise/test/test_helper.rb
devise-1.0.9 test/test_helper.rb
dcu-devise-1.0.7 test/test_helper.rb
devise-1.0.8 test/test_helper.rb
ivanvc-devise-1.0.7.1 test/test_helper.rb
mongoid-devise-1.0.1 test/test_helper.rb
devise-1.0.7 test/test_helper.rb
devise-1.0.6 test/test_helper.rb