aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/activerecord
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2010-08-31 23:43:32 +0200
committerPiotr Sarnacki <drogus@gmail.com>2010-09-03 22:59:15 +0200
commit2607def8621c41d5b0bee09e379ae26890b27f7d (patch)
tree62ff6afcf3ac7e4814d378a10506e9308c8548f2 /actionpack/test/activerecord
parent6e5aed057f52ba7dc244104c4c9dd0a9415910ae (diff)
downloadrails-2607def8621c41d5b0bee09e379ae26890b27f7d.tar.gz
rails-2607def8621c41d5b0bee09e379ae26890b27f7d.tar.bz2
rails-2607def8621c41d5b0bee09e379ae26890b27f7d.zip
Use new ActiveModel::Naming.route_key in polymorphic_routes
Diffstat (limited to 'actionpack/test/activerecord')
-rw-r--r--actionpack/test/activerecord/polymorphic_routes_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/activerecord/polymorphic_routes_test.rb b/actionpack/test/activerecord/polymorphic_routes_test.rb
index 23c9fb839e..448aaa5eee 100644
--- a/actionpack/test/activerecord/polymorphic_routes_test.rb
+++ b/actionpack/test/activerecord/polymorphic_routes_test.rb
@@ -436,7 +436,7 @@ class PolymorphicRoutesTest < ActionController::TestCase
def with_namespaced_routes(name)
with_routing do |set|
set.draw do
- namespace(name, :shallow_path => nil, :path => nil, :as => nil) do
+ scope(:module => name) do
resources :blogs do
resources :posts
end