diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2012-01-16 18:26:56 +0100 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-01-16 18:28:01 +0100 |
commit | 90aae070ed13f2d82fa4ecfc8d229d4ae0c34d7d (patch) | |
tree | 54974342be035a4df85a026c3121ae6b12d561b5 /activemodel | |
parent | 48f9835bf5eb413fad9fdc68e505a614587adf60 (diff) | |
download | rails-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.rb | 2 |
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? |