class TestErrorsInController
Constants
- APP
- Routes
Public Instance Methods
app()
click to toggle source
# File actionpack/test/dispatch/routing_test.rb, line 4790 def app APP end
test_legit_name_errors_are_not_caught()
click to toggle source
# File actionpack/test/dispatch/routing_test.rb, line 4799 def test_legit_name_errors_are_not_caught get "/posts/bar" assert_equal 500, response.status end
test_legit_no_method_errors_are_not_caught()
click to toggle source
# File actionpack/test/dispatch/routing_test.rb, line 4794 def test_legit_no_method_errors_are_not_caught get "/posts/foo" assert_equal 500, response.status end
test_legit_routing_not_found_responses()
click to toggle source
# File actionpack/test/dispatch/routing_test.rb, line 4804 def test_legit_routing_not_found_responses get "/posts/baz" assert_equal 404, response.status get "/i_do_not_exist" assert_equal 404, response.status end