diff options
author | Jos Backus <jos@catnook.com> | 2015-10-20 13:06:28 -0700 |
---|---|---|
committer | Jos Backus <jos@catnook.com> | 2015-10-20 13:06:28 -0700 |
commit | 07b8d64b5794a5f7fd8255684d3dc7dc654dc438 (patch) | |
tree | 1c539510ed5f72a4eb0e9fb94c7059686d6e6e5e /spec/unit/recipe_spec.rb | |
parent | a92590dc897b7d9556add53919dcde7ee4e50b2b (diff) | |
download | chef-07b8d64b5794a5f7fd8255684d3dc7dc654dc438.tar.gz |
Stop initializing node tags here
This should be done in one place (Chef::Node#tags).
Diffstat (limited to 'spec/unit/recipe_spec.rb')
-rw-r--r-- | spec/unit/recipe_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/recipe_spec.rb b/spec/unit/recipe_spec.rb index 77d02dd77a..da6cf561f5 100644 --- a/spec/unit/recipe_spec.rb +++ b/spec/unit/recipe_spec.rb @@ -35,7 +35,7 @@ describe Chef::Recipe do let(:cookbook_collection) { Chef::CookbookCollection.new(cookbook_loader) } let(:node) do - Chef::Node.new.tap {|n| n.normal[:tags] = [] } + Chef::Node.new end let(:events) do |