From 90aae070ed13f2d82fa4ecfc8d229d4ae0c34d7d Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Mon, 16 Jan 2012 18:26:56 +0100 Subject: Apparently asssert_empty is not available in 1.8.7 --- activemodel/test/cases/errors_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activemodel') 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? -- cgit v1.2.3