summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-03 22:10:18 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-04 12:25:04 +0200
commitf70c9c80c1e242d893b94e62ff919e08263d507c (patch)
tree60e22aec84b70c56e620817296bb80d2f861f382
parentb933b8efc84aa2e79b4f43417d6480661f781726 (diff)
downloadbundler-f70c9c80c1e242d893b94e62ff919e08263d507c.tar.gz
Fix missing tmpdir require
When running `bin/rspec spec/runtime/setup_spec.rb -e symlink`, you'll get an "undefined method `mktmpdir' for Dir:Class" error. This commit fixes that.
-rw-r--r--spec/runtime/setup_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb
index 740e803dc2..7d178cdcc1 100644
--- a/spec/runtime/setup_spec.rb
+++ b/spec/runtime/setup_spec.rb
@@ -1,5 +1,7 @@
# frozen_string_literal: true
+require "tmpdir"
+
RSpec.describe "Bundler.setup" do
describe "with no arguments" do
it "makes all groups available" do