brew/Library/Homebrew/test/head_software_spec_spec.rb
Mike McQuaid 2b737f0423
Split up SoftwareSpec
This came up in the AGM and has bothered me for years: let's actually
split out `software_spec.rb` into one file per class, as is more typical
in Ruby.

This will make these classes easier to find.
2025-02-04 16:27:39 +00:00

16 lines
353 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(Object.new)).to be_nil
end
end