summaryrefslogtreecommitdiff
path: root/spec/unit
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-09-15 11:24:02 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-09-15 11:24:02 -0700
commit41d99f6d8d8de416f9d5166e8e1f139ae768f134 (patch)
tree1bd1f2eccd21f396852b484e65213bef0774f1ff /spec/unit
parentdd024e78b150636fd9f9a7163c5d53e0942e3570 (diff)
downloadchef-41d99f6d8d8de416f9d5166e8e1f139ae768f134.tar.gz
use File.extname and Tempfile.open array arg
in order to preserve the extention of the file in the rendered tempfile. helps out with verification steps where the tempfile may be passed to a program which gets annoyed if the extension isn't correct. see https://github.com/chef/chef/issues/5324 for example Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit')
0 files changed, 0 insertions, 0 deletions