-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be48b47
commit 8de6d51
Showing
1 changed file
with
0 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,16 +44,6 @@ | |
expect(Formulary.factory(path).version).to eq "0.2" | ||
end | ||
|
||
it "retrieves the most recent version of formula starting at the specified revision", :integration_test do | ||
path = target[:path]/"Formula/[email protected]" | ||
expect { brew "extract", "testball", target[:name], "--git-revision=HEAD~1" } | ||
.to output(/^#{path}$/).to_stdout | ||
.and not_to_output.to_stderr | ||
.and be_a_success | ||
expect(path).to exist | ||
expect(Formulary.factory(path).version).to eq "0.1" | ||
end | ||
|
||
it "retrieves the specified version of formula", :integration_test do | ||
path = target[:path]/"Formula/[email protected]" | ||
expect { brew "extract", "testball", target[:name], "--version=0.1" } | ||
|