1
0
Fork 0
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:
Matt Jankowski 2008-09-12 17:07:05 -04:00 committed by Ryan McGeary
parent edfd0f406d
commit da5e4b1c8f

View file

@ -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')