mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
16 lines
367 B
Ruby
16 lines
367 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "head_software_spec"
|
|
|
|
RSpec.describe HeadSoftwareSpec do
|
|
subject(:head_spec) { described_class.new }
|
|
|
|
specify "#version" do
|
|
expect(head_spec.version).to eq(Version.new("HEAD"))
|
|
end
|
|
|
|
specify "#verify_download_integrity" do
|
|
expect(head_spec.verify_download_integrity(Pathname.new("head.zip"))).to be_nil
|
|
end
|
|
end
|