Sha256: d8e87c975681e938f95e7b9925fc8cd1a5a353b62c1af334da027a7cf09b1b3c
Contents?: true
Size: 431 Bytes
Versions: 16
Compression:
Stored size: 431 Bytes
Contents
# frozen_string_literal: true require "minitest/autorun" require_relative "../util/changelog" require "rubygems/commands/setup_command" class ChangelogTest < Minitest::Test 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
16 entries across 16 versions & 1 rubygems