Sha256: 9e9f99f2a87b9f4836a52f03144f8bed6a5216a0c4320a56664f47ceef9c9f45
Contents?: true
Size: 352 Bytes
Versions: 6
Compression:
Stored size: 352 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.to_s.should == d.reload.created_at.to_s end end end
Version data entries
6 entries across 6 versions & 1 rubygems