Module: Pundit::RSpec::PolicyExampleGroup

Includes:
Matchers
Defined in:
lib/pundit/rspec.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


63
64
65
66
67
# File 'lib/pundit/rspec.rb', line 63

def self.included(base)
  base.[:type] = :policy
  base.extend Pundit::RSpec::DSL
  super
end