Permalink
Browse files

Fix typo in assertion message

  • Loading branch information...
pixeltrix committed Mar 16, 2011
1 parent 7bd70dc commit e8458d37c56a94fae5f4c762b1767f67e10ddb43
Showing with 1 addition and 1 deletion.
  1. +1 −1 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>

0 comments on commit e8458d3

Please sign in to comment.