public
Rubygem
Description: Makes tests easy on the fingers and the eyes
Homepage: http://www.thoughtbot.com/projects/shoulda
Clone URL: git://github.com/thoughtbot/shoulda.git
shoulda / test / rails_root / config / environment.rb
100644 15 lines (11 sloc) 0.41 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Specifies gem version of Rails to use when vendor/rails is not present
old_verbose, $VERBOSE = $VERBOSE, nil
RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION
$VERBOSE = old_verbose
 
require File.join(File.dirname(__FILE__), 'boot')
 
Rails::Initializer.run do |config|
  config.log_level = :debug
  config.cache_classes = false
  config.whiny_nils = true
end
 
# Dependencies.log_activity = true