Browse files

respond_to -> respond to in a message from AM::Lint

The error message uses English to say that the object should respond
to a certain method. You check that with respond_to, but that's not

This makes this error message also consistent with the rest.
  • Loading branch information...
fxn committed May 12, 2013
1 parent 026ee2a commit efdd972b8da5b55c156a9e8f1d66a1f739efc97d
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/lint.rb
@@ -98,7 +98,7 @@ def test_errors_aref
def model
- assert @model.respond_to?(:to_model), "The object should respond_to to_model"
+ assert @model.respond_to?(:to_model), "The object should respond to to_model"

0 comments on commit efdd972

Please sign in to comment.