aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2012-01-16 18:26:56 +0100
committerPiotr Sarnacki <drogus@gmail.com>2012-01-16 18:28:01 +0100
commit90aae070ed13f2d82fa4ecfc8d229d4ae0c34d7d (patch)
tree54974342be035a4df85a026c3121ae6b12d561b5 /activemodel
parent48f9835bf5eb413fad9fdc68e505a614587adf60 (diff)
downloadrails-90aae070ed13f2d82fa4ecfc8d229d4ae0c34d7d.tar.gz
rails-90aae070ed13f2d82fa4ecfc8d229d4ae0c34d7d.tar.bz2
rails-90aae070ed13f2d82fa4ecfc8d229d4ae0c34d7d.zip
Apparently asssert_empty is not available in 1.8.7
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/test/cases/errors_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/errors_test.rb b/activemodel/test/cases/errors_test.rb
index 4edeece3e8..8361069819 100644
--- a/activemodel/test/cases/errors_test.rb
+++ b/activemodel/test/cases/errors_test.rb
@@ -31,7 +31,7 @@ class ErrorsTest < ActiveModel::TestCase
errors = ActiveModel::Errors.new(self)
errors[:foo] = 'omg'
errors.delete(:foo)
- assert_empty errors[:foo]
+ assert errors[:foo].empty?
end
def test_include?