aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/request
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2010-08-05 15:44:23 +0200
committerPiotr Sarnacki <drogus@gmail.com>2010-09-05 13:44:36 +0200
commitb3eb26a161acb23781e55fc6c37b948f160cd9b5 (patch)
tree3c8e43a17dc5fe06eb3b4552d04d479863161fb5 /actionpack/test/dispatch/request
parent91fec0d24d50d3b3e90c48b2501ca913544781cc (diff)
downloadrails-b3eb26a161acb23781e55fc6c37b948f160cd9b5.tar.gz
rails-b3eb26a161acb23781e55fc6c37b948f160cd9b5.tar.bz2
rails-b3eb26a161acb23781e55fc6c37b948f160cd9b5.zip
Removed deprecated RouteSet API, still many tests fail
Diffstat (limited to 'actionpack/test/dispatch/request')
-rw-r--r--actionpack/test/dispatch/request/json_params_parsing_test.rb2
-rw-r--r--actionpack/test/dispatch/request/multipart_params_parsing_test.rb2
-rw-r--r--actionpack/test/dispatch/request/query_string_parsing_test.rb2
-rw-r--r--actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb2
-rw-r--r--actionpack/test/dispatch/request/xml_params_parsing_test.rb2
5 files changed, 5 insertions, 5 deletions
diff --git a/actionpack/test/dispatch/request/json_params_parsing_test.rb b/actionpack/test/dispatch/request/json_params_parsing_test.rb
index 0faa99a912..b6dee77203 100644
--- a/actionpack/test/dispatch/request/json_params_parsing_test.rb
+++ b/actionpack/test/dispatch/request/json_params_parsing_test.rb
@@ -56,7 +56,7 @@ class JsonParamsParsingTest < ActionController::IntegrationTest
def with_test_routing
with_routing do |set|
- set.draw do |map|
+ set.draw do
match ':action', :to => ::JsonParamsParsingTest::TestController
end
yield
diff --git a/actionpack/test/dispatch/request/multipart_params_parsing_test.rb b/actionpack/test/dispatch/request/multipart_params_parsing_test.rb
index e3ec5cf182..e701185b61 100644
--- a/actionpack/test/dispatch/request/multipart_params_parsing_test.rb
+++ b/actionpack/test/dispatch/request/multipart_params_parsing_test.rb
@@ -156,7 +156,7 @@ class MultipartParamsParsingTest < ActionController::IntegrationTest
def with_test_routing
with_routing do |set|
- set.draw do |map|
+ set.draw do
match ':action', :to => 'multipart_params_parsing_test/test'
end
yield
diff --git a/actionpack/test/dispatch/request/query_string_parsing_test.rb b/actionpack/test/dispatch/request/query_string_parsing_test.rb
index 071d80c5b0..8d67df433c 100644
--- a/actionpack/test/dispatch/request/query_string_parsing_test.rb
+++ b/actionpack/test/dispatch/request/query_string_parsing_test.rb
@@ -108,7 +108,7 @@ class QueryStringParsingTest < ActionController::IntegrationTest
private
def assert_parses(expected, actual)
with_routing do |set|
- set.draw do |map|
+ set.draw do
match ':action', :to => ::QueryStringParsingTest::TestController
end
diff --git a/actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb b/actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb
index 0bcef81534..b179f08f4e 100644
--- a/actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb
+++ b/actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb
@@ -129,7 +129,7 @@ class UrlEncodedParamsParsingTest < ActionController::IntegrationTest
private
def with_test_routing
with_routing do |set|
- set.draw do |map|
+ set.draw do
match ':action', :to => ::UrlEncodedParamsParsingTest::TestController
end
yield
diff --git a/actionpack/test/dispatch/request/xml_params_parsing_test.rb b/actionpack/test/dispatch/request/xml_params_parsing_test.rb
index d44c642420..9d0695bf64 100644
--- a/actionpack/test/dispatch/request/xml_params_parsing_test.rb
+++ b/actionpack/test/dispatch/request/xml_params_parsing_test.rb
@@ -96,7 +96,7 @@ class XmlParamsParsingTest < ActionController::IntegrationTest
private
def with_test_routing
with_routing do |set|
- set.draw do |map|
+ set.draw do
match ':action', :to => ::XmlParamsParsingTest::TestController
end
yield