Module: KittyPolicy::RSpec
- Defined in:
- lib/kitty_policy/rspec.rb
Defined Under Namespace
Classes: ToBeAbleTo
Instance Method Summary collapse
Instance Method Details
#be_able_to(action, subject = :empty) ⇒ Object
25 26 27 |
# File 'lib/kitty_policy/rspec.rb', line 25 def be_able_to(action, subject = :empty) ToBeAbleTo.new(described_class, action, subject) end |