3 class WaysControllerTest < ActionDispatch::IntegrationTest
5 # test all routes which lead to this controller
8 { :path => "/way/1", :method => :get },
9 { :controller => "ways", :action => "show", :id => "1" }
15 sidebar_browse_check :way_path, way.id, "elements/show"
20 with_settings(:web_timeout => -1) do
23 assert_response :error
24 assert_template :layout => "map"
25 assert_dom "h2", "Timeout Error"
26 assert_dom "p", /#{Regexp.quote("the way with the id #{way.id}")}/