diff options
author | Gaston Ramos <ramos.gaston@gmail.com> | 2010-09-13 17:21:49 -0300 |
---|---|---|
committer | Gaston Ramos <ramos.gaston@gmail.com> | 2010-09-27 15:25:28 -0300 |
commit | 9363931f349d783058688c2c14a31856116125e0 (patch) | |
tree | 2e91c6535277eec38bdc932f9d1ef85457d4ae21 /activeresource/test | |
parent | 30fb3638cce6fd27d003c7e0c4f689a0f1e28177 (diff) | |
download | rails-9363931f349d783058688c2c14a31856116125e0.tar.gz rails-9363931f349d783058688c2c14a31856116125e0.tar.bz2 rails-9363931f349d783058688c2c14a31856116125e0.zip |
- better name for prefix param test case
Diffstat (limited to 'activeresource/test')
-rw-r--r-- | activeresource/test/cases/base_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activeresource/test/cases/base_test.rb b/activeresource/test/cases/base_test.rb index eb1a747c0a..f813ce2181 100644 --- a/activeresource/test/cases/base_test.rb +++ b/activeresource/test/cases/base_test.rb @@ -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 |