diff options
Diffstat (limited to 'lib/chef/mixin/why_run.rb')
-rw-r--r-- | lib/chef/mixin/why_run.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/mixin/why_run.rb b/lib/chef/mixin/why_run.rb index 1954f574d3..357c4a655d 100644 --- a/lib/chef/mixin/why_run.rb +++ b/lib/chef/mixin/why_run.rb @@ -309,7 +309,7 @@ class Chef # "You don't have sufficient privileges to delete #{@new_resource.path}") # end def assert(*actions) - return unless actions.include?(action.to_sym) + return unless actions.include?(action.to_sym) || actions.include?(:all_actions) assertion = Assertion.new yield assertion |