Exception: PolicyAssertions::InvalidClassName

Inherits:
StandardError
  • Object
show all
Defined in:
lib/policy_assertions/errors.rb

Instance Method Summary collapse

Instance Method Details

#messageObject



3
4
5
6
# File 'lib/policy_assertions/errors.rb', line 3

def message
  'The test class must be the same as a pundit policy class. ' \
  'For example, RecordPolicyTest'
end