3 class DirectionsControllerTest < ActionController::TestCase
6 # test all routes which lead to this controller
9 { :path => "/directions", :method => :get },
10 { :controller => "directions", :action => "search" }
15 # test the search action
18 assert_response :success