summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-03 23:51:34 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-04 01:39:00 +0000
commit59a625b1732915891baba8fc82d47798bbabad13 (patch)
treed8308acf5abcdeff98bf81df8ed2360bfcd8ada5
parentb9745c5b53e2690c5fd0b1355b429c62a658f27c (diff)
They are not compatible, and the Rails 3 tests will
be completely separate.
-rw-r--r--test/rails/test_rails.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/rails/test_rails.rb b/test/rails/test_rails.rb
index 6742722..4b3857f 100644
--- a/test/rails/test_rails.rb
+++ b/test/rails/test_rails.rb
@@ -46,6 +46,10 @@ end
 ROR_V = UNICORN_RAILS_TEST_VERSION.split(/\./).map { |x| x.to_i }
 RB_V = RUBY_VERSION.split(/\./).map { |x| x.to_i }
 if RB_V[0] >= 1 && RB_V[1] >= 9
+  if RB_V[2] >= 2
+    warn "Ruby 1.9.2+ is not compatible with Rails 2.x"
+    do_test = false
+  end
   unless ROR_V[0] >= 2 && ROR_V[1] >= 3
     warn "skipping Ruby >=1.9 test with Rails <2.3"
     do_test = false