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