1
0
Fork 0
mirror of https://github.com/varvet/pundit.git synced 2022-11-09 12:30:11 -05:00
varvet--pundit/spec
Nicolas Brousse 124c00d88c
Improve exception for #policy_scope and #policy_scope! (#548)
This changes avoid to raise an InvalidConstructorError if we catch an
ArgumentError exception from #resolve method of Policy Scope.
2018-09-20 13:21:21 +02:00
..
policies Use RSpec's described_class feature to specify the subject 2014-10-14 00:32:54 +02:00
policy_finder_spec.rb Fix param_key when passed an array for namespacing 2018-06-17 09:51:54 +02:00
pundit_spec.rb Improve exception for #policy_scope and #policy_scope! (#548) 2018-09-20 13:21:21 +02:00
spec_helper.rb Improve exception for #policy_scope and #policy_scope! (#548) 2018-09-20 13:21:21 +02:00