summaryrefslogtreecommitdiff
path: root/spec/unit/recipe_spec.rb
diff options
context:
space:
mode:
authorJos Backus <jos@catnook.com>2015-10-20 13:06:28 -0700
committerJos Backus <jos@catnook.com>2015-10-20 13:06:28 -0700
commit07b8d64b5794a5f7fd8255684d3dc7dc654dc438 (patch)
tree1c539510ed5f72a4eb0e9fb94c7059686d6e6e5e /spec/unit/recipe_spec.rb
parenta92590dc897b7d9556add53919dcde7ee4e50b2b (diff)
downloadchef-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.rb2
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