aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/test_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/test_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/test_test.rb')
-rw-r--r--actionpack/test/controller/test_test.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/actionpack/test/controller/test_test.rb b/actionpack/test/controller/test_test.rb
index 375878b755..52020922f2 100644
--- a/actionpack/test/controller/test_test.rb
+++ b/actionpack/test/controller/test_test.rb
@@ -628,17 +628,6 @@ XML
assert_nothing_raised(NoMethodError) { @response.binary_content }
end
end
-
- protected
- def with_foo_routing
- with_routing do |set|
- set.draw do |map|
- map.generate_url 'foo', :controller => 'test'
- map.connect ':controller/:action/:id'
- end
- yield set
- end
- end
end
class InferringClassNameTest < ActionController::TestCase