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

Version Path
devise_invitable-1.5.5 test/test_helper.rb
devise_invitable-1.5.3 test/test_helper.rb
devise_invitable-1.5.2 test/test_helper.rb
devise_invitable-1.5.1 test/test_helper.rb
devise_invitable-1.5.0 test/test_helper.rb
devise_invitable-1.4.2 test/test_helper.rb
devise_invitable-1.4.1 test/test_helper.rb
devise_invitable-1.4.0 test/test_helper.rb
devise_invitable-1.3.6 test/test_helper.rb
devise_invitable-1.3.5 test/test_helper.rb
devise_invitable-1.3.4 test/test_helper.rb
devise_invitable-1.3.3 test/test_helper.rb
devise_invitable-1.3.2 test/test_helper.rb
devise_invitable-1.3.1 test/test_helper.rb
devise_invitable-1.3.0 test/test_helper.rb
devise_invitable-1.2.1 test/test_helper.rb