summaryrefslogtreecommitdiff
path: root/spec/unit
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-12-19 14:00:18 -0800
committerTim Smith <tsmith@chef.io>2017-12-21 12:09:33 -0800
commitbbd9888e5347708a976492a11e0e18be3a6ba158 (patch)
tree84aaf95a4ba579ad16b08bc7a20ae64eca23ba03 /spec/unit
parent37bacbbc9d6ca124af631acf72109a992b255e6a (diff)
downloadchef-bbd9888e5347708a976492a11e0e18be3a6ba158.tar.gz
Modernize windows_path resource
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit')
-rw-r--r--spec/unit/resource/windows_path_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource/windows_path_spec.rb b/spec/unit/resource/windows_path_spec.rb
index bde39fec9e..8f29a11e4e 100644
--- a/spec/unit/resource/windows_path_spec.rb
+++ b/spec/unit/resource/windows_path_spec.rb
@@ -30,7 +30,7 @@ describe Chef::Resource::WindowsPath do
end
it "sets the default action as :add" do
- expect(resource.action).to eql(:add)
+ expect(resource.action).to eql([:add])
end
it "supports :add and :remove actions" do