Skip to content

Commit

Permalink
Use create instead of new for tempfile in test (potential jruby fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
mullermp committed Oct 3, 2023
1 parent 489e505 commit 640cb60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_tools/spec/changelog_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
module BuildTools
describe Changelog do

let(:path) { Tempfile.new('file').path }
let(:path) { Tempfile.create('file').path }
let(:expected_changelog) { <<-LOG
Unreleased Changes
------------------
Expand Down

0 comments on commit 640cb60

Please sign in to comment.