summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/unit/resource/file_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource/file_spec.rb b/spec/unit/resource/file_spec.rb
index 403c847a45..4004798dad 100644
--- a/spec/unit/resource/file_spec.rb
+++ b/spec/unit/resource/file_spec.rb
@@ -121,7 +121,7 @@ describe Chef::Resource::File do
@resource.rights :full_control, "DOMAIN\User"
end
it "describes its state including windows ACL attributes" do
- state = @resource.state
+ state = @resource.state_for_resource_reporter
expect(state[:rights]).to eq([ { :permissions => :read, :principals => "Everyone" },
{ :permissions => :full_control, :principals => "DOMAIN\User" } ])
end