mirror of
https://github.com/github/rails.git
synced 2026-01-09 14:48:01 -05:00
- better name for prefix param test case
This commit is contained in:
@@ -475,7 +475,7 @@ class BaseTest < Test::Unit::TestCase
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user