aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cmd/custom-external-command_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/cmd/custom-external-command_spec.rb')
-rw-r--r--Library/Homebrew/test/cmd/custom-external-command_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/test/cmd/custom-external-command_spec.rb b/Library/Homebrew/test/cmd/custom-external-command_spec.rb
index 8ccc21fa7..d649786ec 100644
--- a/Library/Homebrew/test/cmd/custom-external-command_spec.rb
+++ b/Library/Homebrew/test/cmd/custom-external-command_spec.rb
@@ -1,8 +1,6 @@
describe "brew custom-external-command", :integration_test do
it "is supported" do
- Dir.mktmpdir do |path|
- path = Pathname.new(path)
-
+ mktmpdir do |path|
cmd = "custom-external-command-#{rand}"
file = path/"brew-#{cmd}"