diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-03-16 20:10:41 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-03-17 09:05:14 -0700 |
commit | e8485d595d2261cde8d82156ba73afc81e1b9360 (patch) | |
tree | 30f91668b7f277b4289dfb26f0ef274021b10fc6 | |
parent | 202d186bc38b38d119497e0d013767882655fdd8 (diff) | |
download | chef-e8485d595d2261cde8d82156ba73afc81e1b9360.tar.gz |
missed spec on windows
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | spec/unit/resource/file_spec.rb | 2 |
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 |