Sha256: 7b9724d6b4b03400604ecc9a8185f57e3d91f34f13469f125ef9b5ac31fdbe36
Contents?: true
Size: 655 Bytes
Versions: 2
Compression:
Stored size: 655 Bytes
Contents
require "spec_helper" describe Savon do it "contains an Array of supported SOAP versions" do Savon::SOAPVersions.should be_an(Array) Savon::SOAPVersions.should_not be_empty end it "contains the xs:dateTime format" do Savon::SOAPDateTimeFormat.should be_a(String) Savon::SOAPDateTimeFormat.should_not be_empty DateTime.new(2012, 03, 22, 16, 22, 33).strftime(Savon::SOAPDateTimeFormat). should == "2012-03-22T16:22:33Z" end it "contains a Regexp matching the xs:dateTime format" do Savon::SOAPDateTimeRegexp.should be_a(Regexp) (Savon::SOAPDateTimeRegexp === "2012-03-22T16:22:33").should be_true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
savon-0.7.4 | spec/savon/savon_spec.rb |
savon-0.7.3 | spec/savon/savon_spec.rb |