Sha256: d1cf2dc1dcffde2a041b2f7acf42c0db27e74bfe836e79811f248025f5295f86
Contents?: true
Size: 663 Bytes
Versions: 16
Compression:
Stored size: 663 Bytes
Contents
ENV["RAILS_ENV"] = "test" DEVISE_ORM = (ENV["DEVISE_ORM"] || :active_record).to_sym $:.unshift File.dirname(__FILE__) puts "\n==> Devise.orm = #{DEVISE_ORM.inspect}" require "rails_app/config/environment" include Devise::TestHelpers require "orm/#{DEVISE_ORM}" require 'rails/test_help' require 'capybara/rails' require 'mocha/setup' ActionMailer::Base.delivery_method = :test ActionMailer::Base.perform_deliveries = true ActionMailer::Base.default_url_options[:host] = 'test.com' ActiveSupport::Deprecation.silenced = true class ActionDispatch::IntegrationTest include Capybara::DSL end class ActionController::TestCase include Devise::TestHelpers end
Version data entries
16 entries across 16 versions & 1 rubygems