diff options
| author | Masayuki Morita | 2017-01-03 14:58:08 +0900 |
|---|---|---|
| committer | Masayuki Morita | 2017-01-03 15:12:53 +0900 |
| commit | a4330f458a09e946ef7bac912fba63628dbf67ca (patch) | |
| tree | fcd9c894fcd61f028a64d1826839b7661ec9f70b /Library/Homebrew/test | |
| parent | 248beb9bf6ce0b9afc97dfc72067b6acfcb5eeb8 (diff) | |
| download | brew-a4330f458a09e946ef7bac912fba63628dbf67ca.tar.bz2 | |
Use util/github insted of open-uri in GitHubReleaseDownloadStrategy
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/download_strategies_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/download_strategies_test.rb b/Library/Homebrew/test/download_strategies_test.rb index 1df0267af..e69bdfda2 100644 --- a/Library/Homebrew/test/download_strategies_test.rb +++ b/Library/Homebrew/test/download_strategies_test.rb @@ -64,7 +64,7 @@ end class GitHubReleaseDownloadStrategyTests < Homebrew::TestCase def setup resource = ResourceDouble.new("https://github.com/owner/repo/releases/download/tag/foo_v0.1.0_darwin_amd64.tar.gz") - ENV["GITHUB_TOKEN"] = "token" + ENV["HOMEBREW_GITHUB_API_TOKEN"] = "token" @strategy = GitHubReleaseDownloadStrategy.new("foo", resource) end |
