3 class DashboardsControllerTest < ActionDispatch::IntegrationTest
 
   5   # test all routes which lead to this controller
 
   8       { :path => "/dashboard", :method => :get },
 
   9       { :controller => "dashboards", :action => "show" }
 
  13   def test_show_unauthorized
 
  16     assert_redirected_to login_path(:referer => dashboard_path)