dev-cmd/extract_spec: remove test.
This commit is contained in:
parent
be48b47d91
commit
8de6d5172d
@ -44,16 +44,6 @@ RSpec.describe Homebrew::DevCmd::Extract do
|
|||||||
expect(Formulary.factory(path).version).to eq "0.2"
|
expect(Formulary.factory(path).version).to eq "0.2"
|
||||||
end
|
end
|
||||||
|
|
||||||
it "retrieves the most recent version of formula starting at the specified revision", :integration_test do
|
|
||||||
path = target[:path]/"Formula/testball@0.1.rb"
|
|
||||||
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
|
it "retrieves the specified version of formula", :integration_test do
|
||||||
path = target[:path]/"Formula/testball@0.1.rb"
|
path = target[:path]/"Formula/testball@0.1.rb"
|
||||||
expect { brew "extract", "testball", target[:name], "--version=0.1" }
|
expect { brew "extract", "testball", target[:name], "--version=0.1" }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user