mirror of
https://github.com/github/rails.git
synced 2026-01-09 14:48:01 -05:00
Apparently asssert_empty is not available in 1.8.7
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user