Module: LogicalAuthz::ControllerExampleGroupMixin
- Included in:
- RSpec::Rails::ControllerExampleGroup
- Defined in:
- lib/logical_authz/spec_helper.rb
Instance Method Summary collapse
Instance Method Details
#be_authorized ⇒ Object
61 62 63 |
# File 'lib/logical_authz/spec_helper.rb', line 61 def return Matcher::Authorized.new end |
#be_forbidden ⇒ Object
65 66 67 |
# File 'lib/logical_authz/spec_helper.rb', line 65 def be_forbidden return Matcher::Forbidden.new end |