Sha256: 8bebd47692c5e0ff92413ac78eb2b9201fc3bba6b177ca275ed3a16317ea3d9d

Contents?: true

Size: 637 Bytes

Versions: 14

Compression:

Stored size: 637 Bytes

Contents

ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../test/dummy/config/environment.rb',  __FILE__)
ActiveRecord::Migrator.migrations_paths = [File.expand_path('../../test/dummy/db/migrate', __FILE__)]
require 'rails/test_help'

# Require PushType testing setup
require 'push_type/testing/setup'
require 'push_type/testing/factories'
require File.expand_path('../factories.rb', __FILE__)

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

class ActionController::TestCase
  include Devise::Test::ControllerHelpers

  before :all do
    @routes = PushType::Admin::Engine.routes
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
push_type_auth-0.12.1 test/test_helper.rb
push_type_auth-0.12.0 test/test_helper.rb
push_type_auth-0.12.0.beta.1 test/test_helper.rb
push_type_auth-0.11.2 test/test_helper.rb
push_type_auth-0.11.1 test/test_helper.rb
push_type_auth-0.11.0.beta.2 test/test_helper.rb
push_type_auth-0.11.0.beta.1 test/test_helper.rb
push_type_auth-0.10.4 test/test_helper.rb
push_type_auth-0.10.3 test/test_helper.rb
push_type_auth-0.10.2 test/test_helper.rb
push_type_auth-0.10.1 test/test_helper.rb
push_type_auth-0.10.0 test/test_helper.rb
push_type_auth-0.10.0.beta.5 test/test_helper.rb
push_type_auth-0.10.0.beta.3 test/test_helper.rb