Remove current user check from dashboard view
This commit is contained in:
parent
02d9467939
commit
50bf0a6379
4 changed files with 56 additions and 53 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue