Permalink
Browse files

Apparently asssert_empty is not available in 1.8.7

  • Loading branch information...
1 parent 48f9835 commit 90aae070ed13f2d82fa4ecfc8d229d4ae0c34d7d @drogus drogus committed Jan 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/test/cases/errors_test.rb
@@ -31,7 +31,7 @@ def test_delete
errors = ActiveModel::Errors.new(self)
errors[:foo] = 'omg'
errors.delete(:foo)
- assert_empty errors[:foo]
+ assert errors[:foo].empty?
end
def test_include?

0 comments on commit 90aae07

Please sign in to comment.