Remove current user check from dashboard view

This commit is contained in:
Anton Khorev 2025-02-19 03:59:38 +03:00
parent 02d9467939
commit 50bf0a6379
4 changed files with 56 additions and 53 deletions

View file

@ -9,4 +9,10 @@ class DashboardsControllerTest < ActionDispatch::IntegrationTest
{ :controller => "dashboards", :action => "show" }
)
end
def test_show_unauthorized
get dashboard_path
assert_redirected_to login_path(:referer => dashboard_path)
end
end