summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef_zero/rspec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/rspec.rb b/lib/chef_zero/rspec.rb
index 12d5ebf..8eb2f58 100644
--- a/lib/chef_zero/rspec.rb
+++ b/lib/chef_zero/rspec.rb
@@ -150,7 +150,7 @@ module ChefZero
end
def policy(name, data, &block)
- before(chef_server_options[:server_scope]) { node(name, data, &block) }
+ before(chef_server_options[:server_scope]) { policy(name, data, &block) }
end
def policy_group(name, data, &block)