diff options
Diffstat (limited to 'spec/unit/compliance/input_spec.rb')
-rw-r--r-- | spec/unit/compliance/input_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/compliance/input_spec.rb b/spec/unit/compliance/input_spec.rb index a65adfb284..61b8f53fb7 100644 --- a/spec/unit/compliance/input_spec.rb +++ b/spec/unit/compliance/input_spec.rb @@ -90,7 +90,7 @@ ssh-01: run: false justification: "waived, yo" EOH - tempfile = Tempfile.new("chef-compliance-test") + tempfile = Tempfile.create("chef-compliance-test") tempfile.write string tempfile.close newinput = Chef::Compliance::Input.from_file(events, tempfile.path, cookbook_name) |