mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
Use >= 2.1.0 so that gem installs of newer versions of rails can still run the shoulda tests
This commit is contained in:
parent
edfd0f406d
commit
da5e4b1c8f
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
# 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
|
||||
RAILS_GEM_VERSION = '>= 2.1.0' unless defined? RAILS_GEM_VERSION
|
||||
$VERBOSE = old_verbose
|
||||
|
||||
require File.join(File.dirname(__FILE__), 'boot')
|
||||
|
@ -10,5 +10,5 @@ Rails::Initializer.run do |config|
|
|||
config.cache_classes = false
|
||||
config.whiny_nils = true
|
||||
end
|
||||
|
||||
|
||||
# Dependencies.log_activity = true
|
||||
|
|
Loading…
Add table
Reference in a new issue