]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/directions_controller_test.rb
Merge remote-tracking branch 'upstream/pull/2601'
[rails.git] / test / controllers / directions_controller_test.rb
index f24c9d205c7400a20c1be15656ba32aa9e1f58b3..31f57b9db334703231f4a0f2083da71409682467 100644 (file)
@@ -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