Sha256: 2257725bd4b4a343a22bc6a070d416d0657133cca5d92860a2ebbe088c073fb1
Contents?: true
Size: 727 Bytes
Versions: 6
Compression:
Stored size: 727 Bytes
Contents
require 'test_statistics_helper' require 'unit/shared/access_permissions_test_base' # Permissions are added in AccessPermissions with lists of controllers and # actions that they enable access to. For non-admin users, we need to test # that there are permissions available that cover every controller action, else # it can't be delegated and this will lead to parts of the application that # aren't functional for non-admin users. # # In particular, it's important that actions for AJAX requests are added to # an appropriate permission so views using those requests function. class AccessPermissionsTest < ActiveSupport::TestCase include AccessPermissionsTestBase check_routes(ForemanStatistics::Engine.routes, []) end
Version data entries
6 entries across 6 versions & 1 rubygems