提交 5bf4d32d 编写于 作者: X Xavier Noria

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
English.

This makes this error message also consistent with the rest.
上级 1ecef00a
......@@ -98,7 +98,7 @@ def test_errors_aref
private
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"
@model.to_model
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册