Sha256: eeec8aadbfa61518e0886164819f96a75ceb63eb3a2d02c87f4351c0bb6ced8e
Contents?: true
Size: 631 Bytes
Versions: 1
Compression:
Stored size: 631 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/date/stamp.rb # # Extracted Tue Jun 20 15:12:26 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/date/stamp.rb' require 'test/unit' class TCDate < Test::Unit::TestCase def setup @d = Date.civil( 2005, 04, 20 ) end def test_stamp_1 assert_equal( "2005-04-20", @d.stamp ) end def test_stamp_2 assert_equal( "20 Apr", @d.stamp(:short) ) end def test_stamp_3 assert_equal( "April 20, 2005", @d.stamp(:long) ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.4.2 | test/lib/facets/core/date/test_stamp.rb |