3 class NodesControllerTest < ActionDispatch::IntegrationTest
 
   5   # test all routes which lead to this controller
 
   8       { :path => "/node/1", :method => :get },
 
   9       { :controller => "nodes", :action => "show", :id => "1" }
 
  15     sidebar_browse_check :node_path, node.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 node with the id #{node.id}")}/