Sha256: b5254da0bbb6a2cbd10afed0b5f46c0c07945017c09e11de62396cb151a9ee33
Contents?: true
Size: 445 Bytes
Versions: 35
Compression:
Stored size: 445 Bytes
Contents
# frozen_string_literal: true require_relative "../util/changelog" require "rubygems/commands/setup_command" require_relative "rubygems/helper" class ChangelogTest < Test::Unit::TestCase def setup @changelog = Changelog.for_rubygems(Gem::VERSION) end def test_format_header Time.stub :now, Time.new(2020, 1, 1) do assert_match Gem::Commands::SetupCommand::HISTORY_HEADER, @changelog.send(:format_header) end end end
Version data entries
35 entries across 35 versions & 1 rubygems