diff options
-rw-r--r-- | spec/integration/recipes/resource_action_spec.rb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/spec/integration/recipes/resource_action_spec.rb b/spec/integration/recipes/resource_action_spec.rb index ca37a13ea3..4786294803 100644 --- a/spec/integration/recipes/resource_action_spec.rb +++ b/spec/integration/recipes/resource_action_spec.rb @@ -146,16 +146,20 @@ describe "Resource.action" do attr_accessor :ruby_block_converged end - public def foo_public + public + def foo_public 'foo_public!' end - protected def foo_protected + protected + def foo_protected 'foo_protected!' end - private def foo_private + private + def foo_private 'foo_private!' end + public action :access_recipe_dsl do ActionJackson.ran_action = :access_recipe_dsl ruby_block 'hi there' do |