Sha256: d9d7456148708071407ec13557b38124d921226fe426f09eae89e56f441fe654
Contents?: true
Size: 320 Bytes
Versions: 2
Compression:
Stored size: 320 Bytes
Contents
# encoding: utf-8 class Nanoc::ExtraCoreExtTimeTest < Nanoc::TestCase def test_to_iso8601_date assert_equal('2008-05-19', Time.utc(2008, 5, 19, 14, 20, 0, 0).to_iso8601_date) end def test_to_iso8601_time assert_equal('2008-05-19T14:20:00Z', Time.utc(2008, 5, 19, 14, 20, 0, 0).to_iso8601_time) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nanoc-3.8.0 | test/extra/core_ext/test_time.rb |
nanoc-3.7.5 | test/extra/core_ext/test_time.rb |