Sha256: 8bd5d3c9e0baca13e84ff63364e109ea0a6a8ae2c9a3ef0f28ea0f4367b47c76
Contents?: true
Size: 220 Bytes
Versions: 12
Compression:
Stored size: 220 Bytes
Contents
require File.join(File.dirname(__FILE__), %w[.. spec_helper]) describe DateTime do it "should convert a date to date_id correctly" do DateTime.parse( "2010-01-01" ).to_date_id.should == 20100101 end end
Version data entries
12 entries across 12 versions & 1 rubygems