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