1 # frozen_string_literal: true
 
   5 class NodesControllerTest < ActionDispatch::IntegrationTest
 
   7   # test all routes which lead to this controller
 
  10       { :path => "/node/1", :method => :get },
 
  11       { :controller => "nodes", :action => "show", :id => "1" }
 
  17     sidebar_browse_check :node_path, node.id, "elements/show"
 
  22     with_settings(:web_timeout => -1) do
 
  25     assert_response :error
 
  26     assert_template :layout => "map"
 
  27     assert_dom "h2", "Timeout Error"
 
  28     assert_dom "p", /#{Regexp.quote("the node with the id #{node.id}")}/