17 lines
364 B
Ruby
Raw Normal View History

2020-12-19 01:11:45 -05:00
# typed: false
# frozen_string_literal: true
require "livecheck/strategy/sparkle"
describe Homebrew::Livecheck::Strategy::Sparkle do
subject(:sparkle) { described_class }
let(:url) { "https://www.example.com/example/appcast.xml" }
describe "::match?" do
it "returns true for any URL" do
expect(sparkle.match?(url)).to be true
end
end
end