diff options
| author | Markus Reiter | 2016-10-21 08:57:39 +0200 |
|---|---|---|
| committer | Markus Reiter | 2016-11-16 23:52:37 +0100 |
| commit | 6b6b27126d7ecc1dde9a6bc166a7e1daa3af35d2 (patch) | |
| tree | 60fcf247ce650e96a0d8f5588cd1a8d79d57aeb8 /Library/Homebrew/test/test_analytics.rb | |
| parent | edf042ee97f80955b077724119e717a51eb25e29 (diff) | |
| download | brew-6b6b27126d7ecc1dde9a6bc166a7e1daa3af35d2.tar.bz2 | |
Reorder and rename test files.
Diffstat (limited to 'Library/Homebrew/test/test_analytics.rb')
| -rw-r--r-- | Library/Homebrew/test/test_analytics.rb | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/Library/Homebrew/test/test_analytics.rb b/Library/Homebrew/test/test_analytics.rb deleted file mode 100644 index 00e0593db..000000000 --- a/Library/Homebrew/test/test_analytics.rb +++ /dev/null @@ -1,26 +0,0 @@ -require "helper/integration_command_test_case" - -class IntegrationCommandTestAnalytics < IntegrationCommandTestCase - def test_analytics - HOMEBREW_REPOSITORY.cd do - shutup do - system "git", "init" - end - end - - assert_match "Analytics is disabled (by HOMEBREW_NO_ANALYTICS)", - cmd("analytics", "HOMEBREW_NO_ANALYTICS" => "1") - - cmd("analytics", "off") - assert_match "Analytics is disabled", - cmd("analytics", "HOMEBREW_NO_ANALYTICS" => nil) - - cmd("analytics", "on") - assert_match "Analytics is enabled", cmd("analytics", - "HOMEBREW_NO_ANALYTICS" => nil) - - assert_match "Invalid usage", cmd_fail("analytics", "on", "off") - assert_match "Invalid usage", cmd_fail("analytics", "testball") - cmd("analytics", "regenerate-uuid") - end -end |
