Sha256: dbdb3f223e07dd12e4cc4c9691df1661afd019203c754c3aa2181b48b96dba4b

Contents?: true

Size: 218 Bytes

Versions: 2

Compression:

Stored size: 218 Bytes

Contents

require 'facets/time/to_date'
require 'test/unit'

class TestTimeConversion < Test::Unit::TestCase

  def test_to_date
    t = Time.now #parse('4/20/2005 15:37')
    assert_instance_of( ::Date, t.to_date )
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facets-2.4.2 test/core/time/test_to_date.rb
facets-2.4.3 test/core/time/test_to_date.rb