summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-03 22:11:37 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-04 12:25:05 +0200
commit5fd31c066541d80f31d8f59e6692381c1538aa79 (patch)
tree12084ef06463f925cae98b060b4c585a756baf38
parentf70c9c80c1e242d893b94e62ff919e08263d507c (diff)
downloadbundler-5fd31c066541d80f31d8f59e6692381c1538aa79.tar.gz
Fix missing tempfile require
When running `bin/rspec spec/runtime/setup_spec.rb -e symlink`, you'll get an "uninitialized constant `Tempfile`" error. This commit fixes that.
-rw-r--r--spec/runtime/setup_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb
index 7d178cdcc1..448ee7f03a 100644
--- a/spec/runtime/setup_spec.rb
+++ b/spec/runtime/setup_spec.rb
@@ -1,6 +1,7 @@
# frozen_string_literal: true
require "tmpdir"
+require "tempfile"
RSpec.describe "Bundler.setup" do
describe "with no arguments" do