aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/routing_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-12-07 19:31:29 -0600
committerJoshua Peek <josh@joshpeek.com>2009-12-07 19:31:29 -0600
commit5835447b6fbc956f22011fc33bcc882db144c7c1 (patch)
tree58aec62b6ba3e579e90d885ee9d0ddcf34313446 /actionpack/test/dispatch/routing_test.rb
parente8489b43e2746d9b3605eef86731232fa823ce69 (diff)
downloadrails-5835447b6fbc956f22011fc33bcc882db144c7c1.tar.gz
rails-5835447b6fbc956f22011fc33bcc882db144c7c1.tar.bz2
rails-5835447b6fbc956f22011fc33bcc882db144c7c1.zip
named_prefix doesn't join with "_"
Diffstat (limited to 'actionpack/test/dispatch/routing_test.rb')
-rw-r--r--actionpack/test/dispatch/routing_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb
index 86cf2ce335..0a35868d7c 100644
--- a/actionpack/test/dispatch/routing_test.rb
+++ b/actionpack/test/dispatch/routing_test.rb
@@ -93,7 +93,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest
end
controller :articles do
- scope 'articles', :name_prefix => 'article' do
+ scope 'articles', :name_prefix => 'article_' do
scope :path => ':title', :title => /[a-z]+/, :as => :with_title do
match ':id', :to => :with_id
end