diff options
| author | Alyssa Ross | 2017-01-21 15:11:49 +0000 |
|---|---|---|
| committer | Alyssa Ross | 2017-01-22 19:53:58 +0000 |
| commit | 0c1d665568875ffccb660a65ff248b7ab98ec77c (patch) | |
| tree | c4916df93a34add3eadee3edbdc390a3ad777c5c /Library/Homebrew/test/os | |
| parent | 116ed3ec80b6d1b9d6178f25793cfcaaaa161308 (diff) | |
| download | brew-0c1d665568875ffccb660a65ff248b7ab98ec77c.tar.bz2 | |
tests: set developer in ENV rather than stubbing
Diffstat (limited to 'Library/Homebrew/test/os')
| -rw-r--r-- | Library/Homebrew/test/os/mac/diagnostic_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/os/mac/diagnostic_test.rb b/Library/Homebrew/test/os/mac/diagnostic_test.rb index 5f467e87b..704235b01 100644 --- a/Library/Homebrew/test/os/mac/diagnostic_test.rb +++ b/Library/Homebrew/test/os/mac/diagnostic_test.rb @@ -16,7 +16,7 @@ class OSMacDiagnosticChecksTest < Homebrew::TestCase end def test_check_for_unsupported_macos - ARGV.stubs(:homebrew_developer?).returns false + ENV.delete("HOMEBREW_DEVELOPER") OS::Mac.stubs(:prerelease?).returns true assert_match "We do not provide support for this pre-release version.", @checks.check_for_unsupported_macos |
