Permalink
Browse files

Update ActiveModel::Errors.has_key? test

  • Loading branch information...
bobbus committed Jan 22, 2014
1 parent b97035d commit db95c7dcebcd240ba46cc5df4eb2b8f240f497bb
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/test/cases/errors_test.rb
@@ -51,7 +51,7 @@ def test_dup
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

0 comments on commit db95c7d

Please sign in to comment.