aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/render_xml_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-12-08 16:52:26 -0600
committerJoshua Peek <josh@joshpeek.com>2009-12-08 16:52:26 -0600
commit2be5e088d27f17cd7210cbfd227aff2e5be6b800 (patch)
treecfd72dedbc45de1f0e143bc08bf196937c4f31c2 /actionpack/test/controller/render_xml_test.rb
parentac711043ecec0dd15a159eff8081be8f10584be0 (diff)
downloadrails-2be5e088d27f17cd7210cbfd227aff2e5be6b800.tar.gz
rails-2be5e088d27f17cd7210cbfd227aff2e5be6b800.tar.bz2
rails-2be5e088d27f17cd7210cbfd227aff2e5be6b800.zip
Use new routing dsl in tests
Diffstat (limited to 'actionpack/test/controller/render_xml_test.rb')
-rw-r--r--actionpack/test/controller/render_xml_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/render_xml_test.rb b/actionpack/test/controller/render_xml_test.rb
index 68a52c3e8c..b5b0d0b9d5 100644
--- a/actionpack/test/controller/render_xml_test.rb
+++ b/actionpack/test/controller/render_xml_test.rb
@@ -61,8 +61,8 @@ class RenderXmlTest < ActionController::TestCase
def test_rendering_with_object_location_should_set_header_with_url_for
with_routing do |set|
set.draw do |map|
- map.resources :customers
- map.connect ':controller/:action/:id'
+ resources :customers
+ match ':controller/:action'
end
get :render_with_object_location