aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMike McQuaid2017-10-22 19:40:24 +0100
committerGitHub2017-10-22 19:40:24 +0100
commit7e4f42369f40a98e4696c2ddba91ea5728fc8a7e (patch)
tree7c4057ac9d2034598dd32fa02aaec54e98622294 /Library/Homebrew/test
parentce0e96c3205e10fe975b8c107092c290b9373af9 (diff)
parentf9d42659ea951896733f49394a50366fb55eaafb (diff)
downloadbrew-7e4f42369f40a98e4696c2ddba91ea5728fc8a7e.tar.bz2
Merge pull request #3337 from sjackman/pull
pull: Fix pull --bottle 1234
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/dev-cmd/pull_spec.rb2
-rw-r--r--Library/Homebrew/test/tap_spec.rb1
2 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/test/dev-cmd/pull_spec.rb b/Library/Homebrew/test/dev-cmd/pull_spec.rb
index 9815ef9a1..984ac0843 100644
--- a/Library/Homebrew/test/dev-cmd/pull_spec.rb
+++ b/Library/Homebrew/test/dev-cmd/pull_spec.rb
@@ -22,7 +22,7 @@ describe "brew pull", :integration_test do
.and output(/Current branch is new\-branch/).to_stderr
.and be_a_failure
- expect { brew "pull", "--bump", "8" }
+ expect { brew "pull", "--bump", "https://github.com/Homebrew/homebrew-core/pull/8" }
.to output(/Fetching patch/).to_stdout
.and output(/No changed formulae found to bump/).to_stderr
.and be_a_failure
diff --git a/Library/Homebrew/test/tap_spec.rb b/Library/Homebrew/test/tap_spec.rb
index d69eb615c..76af27b92 100644
--- a/Library/Homebrew/test/tap_spec.rb
+++ b/Library/Homebrew/test/tap_spec.rb
@@ -61,6 +61,7 @@ describe Tap do
specify "::fetch" do
begin
+ expect(described_class.fetch("Homebrew", "core")).to be_kind_of(CoreTap)
expect(described_class.fetch("Homebrew", "homebrew")).to be_kind_of(CoreTap)
tap = described_class.fetch("Homebrew", "foo")
expect(tap).to be_kind_of(Tap)