Sha256: 9e00afdb054acc1192cf01f310a8b9a420ab02f07e4d930310b7b15c2baf2688
Contents?: true
Size: 361 Bytes
Versions: 17
Compression:
Stored size: 361 Bytes
Contents
# encoding: utf-8 class Nanoc::ExtraCoreExtTimeTest < MiniTest::Unit::TestCase include Nanoc::TestHelpers 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
17 entries across 17 versions & 1 rubygems