Sha256: 5ee02fa01b3ee3beb5add779ea906af33058a57dd052b3c2be55a8ab6ec4ba10

Contents?: true

Size: 895 Bytes

Versions: 2

Compression:

Stored size: 895 Bytes

Contents

require File.expand_path('../boot', __FILE__)

require 'rails/all'

# If you have a Gemfile, require the gems listed there, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env) if defined?(Bundler)


module HasDefaultSpecApp
  class Application < Rails::Application
    config.encoding = "utf-8"

    config.cache_classes = true
    config.whiny_nils = true

    config.consider_all_requests_local       = true
    config.action_controller.perform_caching = false

    config.action_dispatch.show_exceptions = false

    config.action_controller.allow_forgery_protection    = false

    config.action_mailer.delivery_method = :test

    config.active_support.deprecation = :stderr

    config.root = File.expand_path('../..', __FILE__)

    railties.plugins << Rails::Plugin.new(File.expand_path('../../../../..', __FILE__))
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
has_defaults-0.3.1 spec/rails3/app_root/config/application.rb
has_defaults-0.3.0 spec/rails3/app_root/config/application.rb