3 class SearchControllerTest < ActionController::TestCase
5 # test all routes which lead to this controller
8 { :path => "/api/0.6/search", :method => :get },
9 { :controller => "search", :action => "search_all" }
12 { :path => "/api/0.6/nodes/search", :method => :get },
13 { :controller => "search", :action => "search_nodes" }
16 { :path => "/api/0.6/ways/search", :method => :get },
17 { :controller => "search", :action => "search_ways" }
20 { :path => "/api/0.6/relations/search", :method => :get },
21 { :controller => "search", :action => "search_relations" }