diff --git a/spec/ruby/security/cve_2018_6914_spec.rb b/spec/ruby/security/cve_2018_6914_spec.rb index ea99e57d32..997f4c548a 100644 --- a/spec/ruby/security/cve_2018_6914_spec.rb +++ b/spec/ruby/security/cve_2018_6914_spec.rb @@ -26,7 +26,7 @@ describe "CVE-2018-6914 is resisted by" do tmpdir: @tmpdir, Dir_tmpdir: Dir.tmpdir, TMPDIR: ENV['TMPDIR'], - stat: File.stat(@tmpdir), + stat: File.stat(@dir), }, STDERR) }