1 # frozen_string_literal: true
5 class DashboardsControllerTest < ActionDispatch::IntegrationTest
7 # test all routes which lead to this controller
10 { :path => "/dashboard", :method => :get },
11 { :controller => "dashboards", :action => "show" }
15 def test_show_unauthorized
18 assert_redirected_to login_path(:referer => dashboard_path)