Sha256: 0f3c260cf7f802bb6c453746c1556558445259b137ba145a9a747fcfb74e98a2
Contents?: true
Size: 260 Bytes
Versions: 8
Compression:
Stored size: 260 Bytes
Contents
require "spec_helper" describe Time do describe "#xs_datetime" do let(:time) { Time.utc(2011, 01, 04, 13, 45, 55) } it "should return an xs:dateTime formatted String" do time.xs_datetime.should == "2011-01-04T13:45:55UTC" end end end
Version data entries
8 entries across 8 versions & 2 rubygems