diff options
| author | Markus Reiter | 2017-07-29 19:55:05 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-07-29 20:25:37 +0200 |
| commit | 2ad3a87045246f89aa267251315d660f663c42f2 (patch) | |
| tree | dfb44525f5ae6233816ec97a4c868ea522b2358c /Library/Homebrew/test/dev-cmd/audit_spec.rb | |
| parent | e48a6736b8db7967b1f849975432ddbca6e8f9c0 (diff) | |
| download | brew-2ad3a87045246f89aa267251315d660f663c42f2.tar.bz2 | |
Silence all specs by default.
Diffstat (limited to 'Library/Homebrew/test/dev-cmd/audit_spec.rb')
| -rw-r--r-- | Library/Homebrew/test/dev-cmd/audit_spec.rb | 34 |
1 files changed, 12 insertions, 22 deletions
diff --git a/Library/Homebrew/test/dev-cmd/audit_spec.rb b/Library/Homebrew/test/dev-cmd/audit_spec.rb index 25a179342..f2d8a8e7c 100644 --- a/Library/Homebrew/test/dev-cmd/audit_spec.rb +++ b/Library/Homebrew/test/dev-cmd/audit_spec.rb @@ -174,13 +174,11 @@ describe FormulaAuditor do specify "GithubGistFormula", :needs_compat do ENV.delete("HOMEBREW_DEVELOPER") - fa = shutup do - formula_auditor "foo", <<-EOS.undent - class Foo < GithubGistFormula - url "http://example.com/foo-1.0.tgz" - end - EOS - end + fa = formula_auditor "foo", <<-EOS.undent + class Foo < GithubGistFormula + url "http://example.com/foo-1.0.tgz" + end + EOS fa.audit_class expect(fa.problems) @@ -388,18 +386,14 @@ describe FormulaAuditor do origin_tap_path.mkpath origin_tap_path.cd do - shutup do - system "git", "init" - system "git", "add", "--all" - system "git", "commit", "-m", "init" - end + system "git", "init" + system "git", "add", "--all" + system "git", "commit", "-m", "init" end tap_path.mkpath tap_path.cd do - shutup do - system "git", "clone", origin_tap_path, "." - end + system "git", "clone", origin_tap_path, "." end end @@ -423,16 +417,12 @@ describe FormulaAuditor do origin_formula_path.write text origin_tap_path.cd do - shutup do - system "git", "commit", "-am", "commit" - end + system "git", "commit", "-am", "commit" end tap_path.cd do - shutup do - system "git", "fetch" - system "git", "reset", "--hard", "origin/master" - end + system "git", "fetch" + system "git", "reset", "--hard", "origin/master" end end |
