diff options
| author | Markus Reiter | 2017-02-28 16:04:04 +0100 |
|---|---|---|
| committer | GitHub | 2017-02-28 16:04:04 +0100 |
| commit | fa34aa2a21473a4e4d360e9561f8ca89f2415ded (patch) | |
| tree | 0c5bcf473909f755d209793892a21ce40f6bdd07 /Library/Homebrew/test/cmd/bundle_spec.rb | |
| parent | 0457f0d3e2186991c16e2136b12a5ecc034d99da (diff) | |
| parent | a5549023804a8cef50f71dc2d7a723be8e83f3d1 (diff) | |
| download | brew-fa34aa2a21473a4e4d360e9561f8ca89f2415ded.tar.bz2 | |
Merge pull request #2232 from reitermarkus/spec-mktmpdir
Add `mktmpdir` helper method.
Diffstat (limited to 'Library/Homebrew/test/cmd/bundle_spec.rb')
| -rw-r--r-- | Library/Homebrew/test/cmd/bundle_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/cmd/bundle_spec.rb b/Library/Homebrew/test/cmd/bundle_spec.rb index 755f9ab3d..13f13485c 100644 --- a/Library/Homebrew/test/cmd/bundle_spec.rb +++ b/Library/Homebrew/test/cmd/bundle_spec.rb @@ -10,9 +10,9 @@ describe "brew bundle", :integration_test, :needs_test_cmd_taps do end end - Dir.mktmpdir do |path| + mktmpdir do |path| FileUtils.touch "#{path}/Brewfile" - Dir.chdir path do + path.cd do expect { brew "bundle", "check" } .to output("The Brewfile's dependencies are satisfied.\n").to_stdout .and not_to_output.to_stderr |
