aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/activerecord/polymorphic_routes_test.rb
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@engineyard.com>2010-02-26 15:00:33 -0800
committerCarlhuda <carlhuda@engineyard.com>2010-02-26 15:04:50 -0800
commit98f77e08278658ec47c9eb2e8f819d781c1eaebf (patch)
tree90fa876eb1f103ab9ca70602512c35ecc281a433 /actionpack/test/activerecord/polymorphic_routes_test.rb
parentf10a019452d6864420dd15830073d93dd90de0f1 (diff)
downloadrails-98f77e08278658ec47c9eb2e8f819d781c1eaebf.tar.gz
rails-98f77e08278658ec47c9eb2e8f819d781c1eaebf.tar.bz2
rails-98f77e08278658ec47c9eb2e8f819d781c1eaebf.zip
Rename named_url_helpers to url_helpers and url_helpers to url_for
Diffstat (limited to 'actionpack/test/activerecord/polymorphic_routes_test.rb')
-rw-r--r--actionpack/test/activerecord/polymorphic_routes_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/activerecord/polymorphic_routes_test.rb b/actionpack/test/activerecord/polymorphic_routes_test.rb
index a10bb4473e..6e406ecd15 100644
--- a/actionpack/test/activerecord/polymorphic_routes_test.rb
+++ b/actionpack/test/activerecord/polymorphic_routes_test.rb
@@ -400,7 +400,7 @@ class PolymorphicRoutesTest < ActionController::TestCase
map.resources :series
end
- self.class.send(:include, @router.named_url_helpers)
+ self.class.send(:include, @router.url_helpers)
yield
end
end
@@ -422,7 +422,7 @@ class PolymorphicRoutesTest < ActionController::TestCase
end
end
- self.class.send(:include, @router.named_url_helpers)
+ self.class.send(:include, @router.url_helpers)
yield
end
end
@@ -441,7 +441,7 @@ class PolymorphicRoutesTest < ActionController::TestCase
end
end
- self.class.send(:include, @router.named_url_helpers)
+ self.class.send(:include, @router.url_helpers)
yield
end
end