Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix typo in assertion message

  • Loading branch information...
commit e8458d37c56a94fae5f4c762b1767f67e10ddb43 1 parent 7bd70dc
@pixeltrix pixeltrix authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activemodel/lib/active_model/lint.rb
View
2  activemodel/lib/active_model/lint.rb
@@ -40,7 +40,7 @@ def test_to_param
assert model.respond_to?(:to_param), "The model should respond to to_param"
def model.to_key() [1] end
def model.persisted?() false end
- assert model.to_param.nil?, "to_param should return nil when `persited?` returns false"
+ assert model.to_param.nil?, "to_param should return nil when `persisted?` returns false"
end
# == Responds to <tt>valid?</tt>
Please sign in to comment.
Something went wrong with that request. Please try again.