X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef7f3d800cbdd49b692df10d312e5fd880e2e938..973d62a25ebf22bf80663a8b6996f0dbe7d5289f:/test/controllers/directions_controller_test.rb diff --git a/test/controllers/directions_controller_test.rb b/test/controllers/directions_controller_test.rb index e80d796bd..31f57b9db 100644 --- a/test/controllers/directions_controller_test.rb +++ b/test/controllers/directions_controller_test.rb @@ -1,6 +1,6 @@ -require 'test_helper' +require "test_helper" -class DirectionsControllerTest < ActionController::TestCase +class DirectionsControllerTest < ActionDispatch::IntegrationTest ## # test all routes which lead to this controller def test_routes @@ -13,7 +13,7 @@ class DirectionsControllerTest < ActionController::TestCase ### # test the search action def test_search - get :search + get directions_path assert_response :success end end