提交 47315760 编写于 作者: F Franck Verrot 提交者: Santiago Pastorino

Test timestamp_attributes_for_update_in_model that was already in place

Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
上级 5178e641
......@@ -160,4 +160,9 @@ def test_timestamp_attributes_for_create_in_model
toy = Toy.first
assert_equal toy.send(:timestamp_attributes_for_create_in_model), [:created_at]
end
def test_timestamp_attributes_for_update_in_model
toy = Toy.first
assert_equal toy.send(:timestamp_attributes_for_update_in_model), [:updated_at]
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册