diff options
author | Xavier Noria <fxn@hashref.com> | 2010-06-10 21:46:42 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-06-10 21:49:45 +0200 |
commit | 61fc7a455099f179de88967f403f2038b9d3c821 (patch) | |
tree | 7e5af80845111f1c871f6415ccd975186301fc74 /railties/test | |
parent | 7cb49f551c3207a0e2f03eaf31cd5a620b49bd4e (diff) | |
download | rails-61fc7a455099f179de88967f403f2038b9d3c821.tar.gz rails-61fc7a455099f179de88967f403f2038b9d3c821.tar.bz2 rails-61fc7a455099f179de88967f403f2038b9d3c821.zip |
abort generation/booting on Ruby 1.9.1
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/initializers/check_ruby_version_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/test/application/initializers/check_ruby_version_test.rb b/railties/test/application/initializers/check_ruby_version_test.rb index 58782b2511..5b6196307d 100644 --- a/railties/test/application/initializers/check_ruby_version_test.rb +++ b/railties/test/application/initializers/check_ruby_version_test.rb @@ -9,9 +9,11 @@ module ApplicationTests boot_rails end - test "rails initializes with ruby 1.8.7 or later" do + test "rails initializes with ruby 1.8.7 or later, except for 1.9.1" do if RUBY_VERSION < '1.8.7' assert_rails_does_not_boot + elsif RUBY_VERSION == '1.9.1' + assert_rails_does_not_boot else assert_rails_boots end |