Sha256: 06f21ac6d8a570c3a0a5f48d407ab1fe3edd303b054c83af799c07435ce7a386

Contents?: true

Size: 870 Bytes

Versions: 15

Compression:

Stored size: 870 Bytes

Contents

require File.expand_path('../boot', __FILE__)
require 'lolita'
if ENV["ORM"] == "active_record"
  require 'rails/all'
elsif ENV["ORM"] == "mongoid"
  require "action_controller/railtie"
  require "action_mailer/railtie"
  require "active_resource/railtie"
  require "rails/test_unit/railtie"
  require "sprockets/railtie"
end

Bundler.require(:default, :test, Rails.env) if defined?(Bundler)

module Test
  class Application < Rails::Application
    config.root                       = File.expand_path("#{File.dirname(__FILE__)}/..")
    config.logger                     = Logger.new(File.join(config.root,"log","development.log"))
    config.active_support.deprecation = :log
    config.i18n.default_locale        = I18n.default_locale
    config.assets.enabled             = true
    #config.autoload_paths=File.expand_path("../#{File.dirname(__FILE__)}")
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
lolita-translation-0.8.4 spec/test_app/config/application.rb
lolita-translation-0.8.3 spec/test_app/config/application.rb
lolita-translation-0.8.2 spec/test_app/config/application.rb
lolita-translation-0.8.1 spec/test_app/config/application.rb
lolita-translation-0.8.0 spec/test_app/config/application.rb
lolita-translation-0.7.4 spec/test_app/config/application.rb
lolita-translation-0.7.3 spec/test_app/config/application.rb
lolita-translation-0.7.2 spec/test_app/config/application.rb
lolita-translation-0.7.1 spec/test_app/config/application.rb
lolita-translation-0.7.0 spec/test_app/config/application.rb
lolita-translation-0.6.3 spec/test_app/config/application.rb
lolita-translation-0.6.2 spec/test_app/config/application.rb
lolita-translation-0.6.1 spec/test_app/config/application.rb
lolita-translation-0.6.0 spec/test_app/config/application.rb
lolita-translation-0.5.0 spec/test_app/config/application.rb