aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/routing_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/routing_test.rb')
-rw-r--r--actionpack/test/controller/routing_test.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/actionpack/test/controller/routing_test.rb b/actionpack/test/controller/routing_test.rb
index 141feae87b..bb990586f7 100644
--- a/actionpack/test/controller/routing_test.rb
+++ b/actionpack/test/controller/routing_test.rb
@@ -862,14 +862,6 @@ class RouteSetTest < ActiveSupport::TestCase
end
end
- def test_route_constraints_with_invalid_http_method_is_invalid
- assert_raise ArgumentError do
- set.draw do
- match 'valid/route' => 'pages#show', :via => :invalid
- end
- end
- end
-
def test_route_constraints_with_options_method_condition_is_valid
assert_nothing_raised do
set.draw do
@@ -878,14 +870,6 @@ class RouteSetTest < ActiveSupport::TestCase
end
end
- def test_route_constraints_with_head_method_condition_is_invalid
- assert_raise ArgumentError do
- set.draw do
- match 'valid/route' => 'pages#show', :via => :head
- end
- end
- end
-
def test_recognize_with_encoded_id_and_regex
set.draw do
match 'page/:id' => 'pages#show', :id => /[a-zA-Z0-9\+]+/