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

Version Path
s-savon-0.8.6 spec/savon/core_ext/time_spec.rb
savon-0.9.1 spec/savon/core_ext/time_spec.rb
savon-0.9.0 spec/savon/core_ext/time_spec.rb
savon-0.8.6 spec/savon/core_ext/time_spec.rb
savon-0.8.5 spec/savon/core_ext/time_spec.rb
savon-0.8.4 spec/savon/core_ext/time_spec.rb
savon-0.8.3 spec/savon/core_ext/time_spec.rb
savon-0.8.2 spec/savon/core_ext/time_spec.rb