Exception: PolicyAssertions::MissingBlockParameters

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

Instance Method Summary collapse

Instance Method Details

#messageObject



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

def message
  'PolicyTest must pass the permissions into the assert if called ' \
  'from the Rails test block method. Use def test_testname method ' \
  'to have the permissions parsed automatically.'
end