diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2011-03-16 10:28:40 +0000 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2011-03-16 10:28:40 +0000 |
commit | e8458d37c56a94fae5f4c762b1767f67e10ddb43 (patch) | |
tree | 4da45bf34c8a350c944c65d60b4a1572c9df860e /activemodel/lib/active_model | |
parent | 7bd70dcd6c62fb94e3298e926f69a4e1946739cc (diff) | |
download | rails-e8458d37c56a94fae5f4c762b1767f67e10ddb43.tar.gz rails-e8458d37c56a94fae5f4c762b1767f67e10ddb43.tar.bz2 rails-e8458d37c56a94fae5f4c762b1767f67e10ddb43.zip |
Fix typo in assertion message
Diffstat (limited to 'activemodel/lib/active_model')
-rw-r--r-- | activemodel/lib/active_model/lint.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/lint.rb b/activemodel/lib/active_model/lint.rb index 35e216ac6b..b71ef4b22e 100644 --- a/activemodel/lib/active_model/lint.rb +++ b/activemodel/lib/active_model/lint.rb @@ -40,7 +40,7 @@ module ActiveModel 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> |