Sha256: 5b3710472cce8e799fccc8711853e13305cb16ba37ba09760a8eab0874a218ff
Contents?: true
Size: 617 Bytes
Versions: 1
Compression:
Stored size: 617 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/nano/date/stamp.rb # # Extracted Fri Oct 28 14:20:18 EDT 2005 # Unit Tools Reap Test Extractor # require 'nano/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-0.9.0 | test/lib/nano/date/test_stamp.rb |