Sha256: 8a70644d1c0030f3ca463ca1631eb1eef337070f04fc360f3adf111acb06f999

Contents?: true

Size: 257 Bytes

Versions: 7

Compression:

Stored size: 257 Bytes

Contents

module Authz
  describe ControllerActionsController, 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/controller_actions_controller_spec.rb
authz-0.0.4 spec/controllers/authz/controller_actions_controller_spec.rb
authz-0.0.3 spec/controllers/authz/controller_actions_controller_spec.rb
authz-0.0.2 spec/controllers/authz/controller_actions_controller_spec.rb
authz-0.0.1 spec/controllers/authz/controller_actions_controller_spec.rb
authz-0.0.1.alpha5 spec/controllers/authz/controller_actions_controller_spec.rb
authz-0.0.1.alpha4 spec/controllers/authz/controller_actions_controller_spec.rb