diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-04-27 05:07:56 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-04-27 05:07:56 +0000 |
commit | 8bf1f2525498c51b6bca7bdc6b19cb58c9303ba2 (patch) | |
tree | 9b58647a714af9e483d0286ce51dc4aa294d3d10 /actionpack/test | |
parent | 0adf4a97c1f29a7230e00d39c04c8b4a6053fa65 (diff) | |
download | rails-8bf1f2525498c51b6bca7bdc6b19cb58c9303ba2.tar.gz rails-8bf1f2525498c51b6bca7bdc6b19cb58c9303ba2.tar.bz2 rails-8bf1f2525498c51b6bca7bdc6b19cb58c9303ba2.zip |
Name prefix should nest like path prefix
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/resources_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/resources_test.rb b/actionpack/test/controller/resources_test.rb index 840cc98f30..8d5e68c420 100644 --- a/actionpack/test/controller/resources_test.rb +++ b/actionpack/test/controller/resources_test.rb @@ -208,7 +208,7 @@ class ResourcesTest < Test::Unit::TestCase :path_prefix => 'threads/1/', :options => { :thread_id => '1' } assert_simply_restful_for :comments, - :name_prefix => 'message_', + :name_prefix => 'thread_message_', :path_prefix => 'threads/1/messages/2/', :options => { :thread_id => '1', :message_id => '2' } end |