Sha256: f9af4929ab7335680265df78e25661b0cb9e3650e0704699c4e1c2950421f443

Contents?: true

Size: 1.29 KB

Versions: 2

Compression:

Stored size: 1.29 KB

Contents

# Settings specified here will take precedence over those in config/environment.rb

# The test environment is used exclusively to run your application's
# test suite.  You never need to work with it otherwise.  Remember that
# your test database is "scratch space" for the test suite and is wiped
# and recreated between test runs.  Don't rely on the data there!
config.cache_classes = true

# ensure test extensions are loaded
test_extension_dir = File.join(File.expand_path(RADIANT_ROOT), 'test', 'fixtures', 'extensions')
config.extension_paths << test_extension_dir
config.extension_paths.uniq!
if config.extensions && !config.extensions.include?(:all)
  config.extensions.concat(Dir["#{test_extension_dir}/*"].sort.map {|x| File.basename(x).sub(/^\d+_/,'')})
  config.extensions.uniq!
end

# Log error messages when you accidentally call methods on nil.
config.whiny_nils    = true

# Show full error reports and disable caching
config.action_controller.consider_all_requests_local = true
config.action_controller.perform_caching             = false
ResponseCache.defaults[:perform_caching]             = false

# Tell ActionMailer not to deliver emails to the real world.
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
radiant-0.6.3 config/environments/test.rb
radiant-0.6.4 config/environments/test.rb