Sha256: d0c1416bfe1e9b26f3fcdf3ccb1d11100e2e8beeec63ea4f1a7fbc3aaf655515
Contents?: true
Size: 341 Bytes
Versions: 15
Compression:
Stored size: 341 Bytes
Contents
require 'spec_helper' describe "Core Extensions" do describe "Time" do let(:doc) do Doc do key :created_at, Time end end it "should match the precision of Time types stored in the database" do d = doc.create(:created_at => Time.now) d.created_at.should == d.reload.created_at end end end
Version data entries
15 entries across 15 versions & 1 rubygems