aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/helper.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-03-13 23:57:36 +0100
committerwycats <wycats@gmail.com>2010-03-13 17:04:08 -0600
commitc8f1aac76196bdea8e1fe84a69f0b08c2372c533 (patch)
tree2d77cb0f936e8fdb8fa50421034d326eb7cdfedf /activerecord/test/cases/helper.rb
parent4ba334c0f4dac35b0c02cf3c4cca47d328283009 (diff)
downloadrails-c8f1aac76196bdea8e1fe84a69f0b08c2372c533.tar.gz
rails-c8f1aac76196bdea8e1fe84a69f0b08c2372c533.tar.bz2
rails-c8f1aac76196bdea8e1fe84a69f0b08c2372c533.zip
restricts a test to < 1.9, and rewrites it using a proper expectation
Signed-off-by: wycats <wycats@gmail.com>
Diffstat (limited to 'activerecord/test/cases/helper.rb')
-rw-r--r--activerecord/test/cases/helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/helper.rb b/activerecord/test/cases/helper.rb
index e831ebf36c..1fb59d3589 100644
--- a/activerecord/test/cases/helper.rb
+++ b/activerecord/test/cases/helper.rb
@@ -7,6 +7,7 @@ require 'config'
require 'test/unit'
require 'stringio'
+require 'mocha'
require 'active_record'
require 'active_support/dependencies'