class TestPortConstraints
Constants
- APP
- Routes
Public Instance Methods
app()
click to toggle source
# File actionpack/test/dispatch/routing_test.rb, line 4509 def app; APP end
test_array_port_constraints()
click to toggle source
# File actionpack/test/dispatch/routing_test.rb, line 4527 def test_array_port_constraints get "http://www.example.com/array" assert_response :not_found get "http://www.example.com:8080/array" assert_response :success end
test_integer_port_constraints()
click to toggle source
# File actionpack/test/dispatch/routing_test.rb, line 4511 def test_integer_port_constraints get "http://www.example.com/integer" assert_response :not_found get "http://www.example.com:8080/integer" assert_response :success end
test_regexp_port_constraints()
click to toggle source
# File actionpack/test/dispatch/routing_test.rb, line 4535 def test_regexp_port_constraints get "http://www.example.com/regexp" assert_response :not_found get "http://www.example.com:8080/regexp" assert_response :success end
test_string_port_constraints()
click to toggle source
# File actionpack/test/dispatch/routing_test.rb, line 4519 def test_string_port_constraints get "http://www.example.com/string" assert_response :not_found get "http://www.example.com:8080/string" assert_response :success end