Sha256: ad311cf50a61168f1c7db70901952a49adc6c85ac030feb150a02bfacef03926
Contents?: true
Size: 403 Bytes
Versions: 2
Compression:
Stored size: 403 Bytes
Contents
require 'timezone/nil_zone' require 'minitest/autorun' class TestNilZone < ::Minitest::Test parallelize_me! def setup @zone = Timezone::NilZone.new end def test_name assert_nil @zone.name end def test_to_s assert_equal 'NilZone', @zone.to_s end def test_inspect assert '#<Timezone::NilZone>', @zone.inspect end def test_valid? refute @zone.valid? end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
timezone-1.2.8 | test/timezone/test_nil_zone.rb |
timezone-1.2.7 | test/timezone/test_nil_zone.rb |