Sha256: 2566be29877527e62bf482ee4e02b6e979465cca07a7aa9bb5c120b4dc81a6d8

Contents?: true

Size: 245 Bytes

Versions: 7

Compression:

Stored size: 245 Bytes

Contents

module Authz
  describe RolesController, type: :controller do
    test_unauthorized_access(
      index: :get,
      show: :get,
      new: :get,
      create: :post,
      edit: :get,
      update: :patch,
      destroy: :delete
    )
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
authz-0.0.5 spec/controllers/authz/roles_controller_spec.rb
authz-0.0.4 spec/controllers/authz/roles_controller_spec.rb
authz-0.0.3 spec/controllers/authz/roles_controller_spec.rb
authz-0.0.2 spec/controllers/authz/roles_controller_spec.rb
authz-0.0.1 spec/controllers/authz/roles_controller_spec.rb
authz-0.0.1.alpha5 spec/controllers/authz/roles_controller_spec.rb
authz-0.0.1.alpha4 spec/controllers/authz/roles_controller_spec.rb