mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Update ActiveModel::Errors.has_key? test
This commit is contained in:
parent
b97035df64
commit
db95c7dceb
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class ErrorsTest < ActiveModel::TestCase
|
|||
def test_has_key?
|
||||
errors = ActiveModel::Errors.new(self)
|
||||
errors[:foo] = 'omg'
|
||||
assert errors.has_key?(:foo), 'errors should have key :foo'
|
||||
assert_equal true, errors.has_key?(:foo), 'errors should have key :foo'
|
||||
end
|
||||
|
||||
def test_has_no_key
|
||||
|
|
Loading…
Reference in a new issue