提交 9363931f 编写于 作者: G Gaston Ramos

- better name for prefix param test case

上级 30fb3638
......@@ -475,7 +475,7 @@ def test_custom_element_path
assert_equal '/people/ann%20mary/addresses/ann%20mary.xml', StreetAddress.element_path(:'ann mary', 'person_id' => 'ann mary')
end
def test_custom_element_path_without_parent_id
def test_custom_element_path_without_required_prefix_param
assert_raise ActiveResource::MissingPrefixParam do
assert_equal '/people/1/addresses/1.xml', StreetAddress.element_path(1)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册