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
|
# Specifies gem version of Rails to use when vendor/rails is not present
|
||||||
old_verbose, $VERBOSE = $VERBOSE, nil
|
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
|
$VERBOSE = old_verbose
|
||||||
|
|
||||||
require File.join(File.dirname(__FILE__), 'boot')
|
require File.join(File.dirname(__FILE__), 'boot')
|
||||||
|
|
Loading…
Add table
Reference in a new issue