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 be_a_failure
|
||||
|
||||
expect { brew "pull", "1" }
|
||||
.to output(/Fetching patch/).to_stdout
|
||||
.and output(/Current branch is new\-branch/).to_stderr
|
||||
.and be_a_failure
|
||||
# Needs Homebrew/homebrew-core
|
||||
if OS.mac?
|
||||
expect { brew "pull", "1" }
|
||||
.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" }
|
||||
.to output(/Fetching patch/).to_stdout
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user