diff options
| author | Ben Muschol | 2017-08-14 12:51:32 -0400 |
|---|---|---|
| committer | Ben Muschol | 2017-08-14 14:45:24 -0400 |
| commit | 5f8d212ccccb8172985da9f71945fea6a8ea1b1a (patch) | |
| tree | 5a27850cd2fdae1177fe26587fb424e367dedc10 /Library/Homebrew/test/utils | |
| parent | 68cdb550f7b90318a136e4dd484249ab678f5fbc (diff) | |
| download | brew-5f8d212ccccb8172985da9f71945fea6a8ea1b1a.tar.bz2 | |
Unify vocabulary in github module, remove unnecessary logic
Fix duplication bug
Diffstat (limited to 'Library/Homebrew/test/utils')
| -rw-r--r-- | Library/Homebrew/test/utils/github_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/utils/github_spec.rb b/Library/Homebrew/test/utils/github_spec.rb index 80f0ef786..0b19c8c9e 100644 --- a/Library/Homebrew/test/utils/github_spec.rb +++ b/Library/Homebrew/test/utils/github_spec.rb @@ -29,9 +29,9 @@ describe GitHub do end end - describe "::issues_matching", :needs_network do + describe "::search_issues", :needs_network do it "queries GitHub issues with the passed parameters" do - results = subject.issues_matching("brew search", repo: "Homebrew/brew", author: "avetamine", is: "closed") + results = subject.search_issues("brew search", repo: "Homebrew/brew", author: "avetamine", is: "closed") expect(results.count).to eq(1) expect(results.first["title"]).to eq("brew search : 422 Unprocessable Entity") end |
