summaryrefslogtreecommitdiff
path: root/spec/unit/provider/script_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/script_spec.rb')
-rw-r--r--spec/unit/provider/script_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/script_spec.rb b/spec/unit/provider/script_spec.rb
index 7dc8588397..4979475b79 100644
--- a/spec/unit/provider/script_spec.rb
+++ b/spec/unit/provider/script_spec.rb
@@ -42,7 +42,7 @@ describe Chef::Provider::Script, "action_run" do
it "unlinks the tempfile when finished" do
tempfile_path = @provider.script_file.path
@provider.unlink_script_file
- expect(File.exist?(tempfile_path)).to be_false
+ expect(File.exist?(tempfile_path)).to be_falsey
end
it "sets the owner and group for the script file" do