Sha256: de265bd2d22ad0374fae1a1142aae158c44a24757ab31826a1d15e0d2ceb75fb

Contents?: true

Size: 646 Bytes

Versions: 4

Compression:

Stored size: 646 Bytes

Contents

# coding: utf-8

require 'rails'
require 'active_record'
require 'action_controller/railtie'

module ActiveExport
  class Application < Rails::Application
    config.generators do |g|
      g.orm             :active_record
      g.test_framework  :rspec, fixture: false
    end
    config.active_support.deprecation = :notify
  end
end
ActiveExport::Application.initialize!

ActiveRecord::Migration.verbose = false
ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:')

support_path = File.expand_path(File.dirname(__FILE__))
require support_path + '/schema'

Dir["#{support_path}/model/**/*.rb"].each {|f| require f }

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_export-0.4.0 spec/rails/rails_support.rb
active_export-0.3.0 spec/rails/rails_support.rb
active_export-0.2.0 spec/rails/rails_support.rb
active_export-0.1.0 spec/rails/rails_support.rb