dev-cmd/extract_spec: remove test.

This commit is contained in:
Mike McQuaid 2024-06-30 19:27:26 +01:00 committed by GitHub
parent be48b47d91
commit 8de6d5172d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,16 +44,6 @@ RSpec.describe Homebrew::DevCmd::Extract do
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/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
path = target[:path]/"Formula/testball@0.1.rb"
expect { brew "extract", "testball", target[:name], "--version=0.1" }