Added acces rules for jobs, operator/jobs and admin/dashboard view, including lazy loading for cancel button in broadcasts
This commit is contained in:
13
test/policies/admin/dashboard_policy_test.rb
Normal file
13
test/policies/admin/dashboard_policy_test.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
require "test_helper"
|
||||
|
||||
# See https://actionpolicy.evilmartians.io/#/testing?id=testing-policies
|
||||
class Admin::DashboardPolicyTest < ActiveSupport::TestCase
|
||||
def test_index
|
||||
end
|
||||
|
||||
def test_create
|
||||
end
|
||||
|
||||
def test_manage
|
||||
end
|
||||
end
|
||||
13
test/policies/operator/job_policy_test.rb
Normal file
13
test/policies/operator/job_policy_test.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
require "test_helper"
|
||||
|
||||
# See https://actionpolicy.evilmartians.io/#/testing?id=testing-policies
|
||||
class Operator::JobPolicyTest < ActiveSupport::TestCase
|
||||
def test_index
|
||||
end
|
||||
|
||||
def test_create
|
||||
end
|
||||
|
||||
def test_manage
|
||||
end
|
||||
end
|
||||
13
test/policies/session_policy_test.rb
Normal file
13
test/policies/session_policy_test.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
require "test_helper"
|
||||
|
||||
# See https://actionpolicy.evilmartians.io/#/testing?id=testing-policies
|
||||
class SessionPolicyTest < ActiveSupport::TestCase
|
||||
def test_index
|
||||
end
|
||||
|
||||
def test_create
|
||||
end
|
||||
|
||||
def test_manage
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user