Sha256: bf12327fd7993f77a3644bc59f0f0e1b7f6a3b3fc669a6d1c2dcb07f804d91ee

Contents?: true

Size: 732 Bytes

Versions: 2

Compression:

Stored size: 732 Bytes

Contents

ENV["RAILS_ENV"] = "test"
DEVISE_ORM = (ENV["DEVISE_ORM"] || :active_record).to_sym
require 'rails_app/config/environment'

require 'rails/test_help'
require 'bundler'
Bundler.setup(:default, :development)
require 'capybara/rails'

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

ActiveRecord::Migration.verbose = false
ActiveRecord::Base.logger = Logger.new(nil)

ActiveRecord::Schema.define(:version => 1) do
  create_table :users do |t|
    t.database_authenticatable :null => true
    t.string :username
    t.confirmable
    t.invitable

    t.timestamps
  end
end

class ActionDispatch::IntegrationTest
  include Capybara
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
devise_invitable-0.3.5 test/test_helper.rb
devise_invitable-0.3.4 test/test_helper.rb