aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/gpg_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/gpg_spec.rb')
-rw-r--r--Library/Homebrew/test/gpg_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/test/gpg_spec.rb b/Library/Homebrew/test/gpg_spec.rb
index 9809dccb5..aa00d79f5 100644
--- a/Library/Homebrew/test/gpg_spec.rb
+++ b/Library/Homebrew/test/gpg_spec.rb
@@ -7,9 +7,8 @@ describe Gpg do
it "creates a test key in the home directory" do
skip "GPG Unavailable" unless subject.available?
- Dir.mktmpdir do |dir|
+ mktmpdir do |dir|
ENV["HOME"] = dir
- dir = Pathname.new(dir)
shutup do
subject.create_test_key(dir)