dev-cmd/pull_spec: require Homebrew/homebrew-core for subtest.
This commit is contained in:
parent
9b682da37b
commit
fcfabfb3c6
@ -10,10 +10,13 @@ describe "brew pull", :integration_test do
|
|||||||
.and not_to_output.to_stdout
|
.and not_to_output.to_stdout
|
||||||
.and be_a_failure
|
.and be_a_failure
|
||||||
|
|
||||||
expect { brew "pull", "1" }
|
# Needs Homebrew/homebrew-core
|
||||||
.to output(/Fetching patch/).to_stdout
|
if OS.mac?
|
||||||
.and output(/Current branch is new\-branch/).to_stderr
|
expect { brew "pull", "1" }
|
||||||
.and be_a_failure
|
.to output(/Fetching patch/).to_stdout
|
||||||
|
.and output(/Current branch is new\-branch/).to_stderr
|
||||||
|
.and be_a_failure
|
||||||
|
end
|
||||||
|
|
||||||
expect { brew "pull", "--bump", "https://api.github.com/repos/Homebrew/homebrew-core/pulls/122" }
|
expect { brew "pull", "--bump", "https://api.github.com/repos/Homebrew/homebrew-core/pulls/122" }
|
||||||
.to output(/Fetching patch/).to_stdout
|
.to output(/Fetching patch/).to_stdout
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user