Sha256: d4207fdcf5e2747533e2c70b713715ce6d0f39b5c8f402ce29106978285401fd
Contents?: true
Size: 410 Bytes
Versions: 28
Compression:
Stored size: 410 Bytes
Contents
# frozen_string_literal: true require_relative "../util/changelog" require "rubygems/commands/setup_command" 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
28 entries across 28 versions & 1 rubygems