diff options
| author | Alyssa Ross | 2017-01-22 20:54:37 +0000 |
|---|---|---|
| committer | Alyssa Ross | 2017-01-22 20:54:37 +0000 |
| commit | 19e61355b38b8ba96db0ca71849bb536af0490bf (patch) | |
| tree | 09e345fcde85263b2635a1e670f953abe2dc4a92 /Library/Homebrew/test/support | |
| parent | b53ce62ffb193748266c63d7b13fd023c0764ff0 (diff) | |
| download | brew-19e61355b38b8ba96db0ca71849bb536af0490bf.tar.bz2 | |
tests: remove with_git_env method
A common git environment is now used in all tests, so this is no longer
required.
Diffstat (limited to 'Library/Homebrew/test/support')
| -rw-r--r-- | Library/Homebrew/test/support/helper/env.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Library/Homebrew/test/support/helper/env.rb b/Library/Homebrew/test/support/helper/env.rb index 7958a041e..88b25e237 100644 --- a/Library/Homebrew/test/support/helper/env.rb +++ b/Library/Homebrew/test/support/helper/env.rb @@ -16,18 +16,6 @@ module Test ensure restore_env old end - - def using_git_env - git_env = ["AUTHOR", "COMMITTER"].each_with_object({}) do |role, env| - env["GIT_#{role}_NAME"] = "brew tests" - env["GIT_#{role}_EMAIL"] = "brew-tests@localhost" - env["GIT_#{role}_DATE"] = "Sun Jan 22 19:59:13 2017 +0000" - end - - with_environment(git_env) do - yield - end - end end end end |
