Sha256: f1e5b4d2101a6d0a4d53f48a06ebe34c479089ec14696de707986ed6eefa01d0
Contents?: true
Size: 478 Bytes
Versions: 4
Compression:
Stored size: 478 Bytes
Contents
require "spec_helper" describe DateTime do before do @datetime = DateTime.new 2012, 03, 22, 16, 22, 33 @datetime_string = "2012-03-22T16:22:33+00:00" end describe "to_soap_value" do it "should return an xs:dateTime compliant String" do @datetime.to_soap_value.should == @datetime_string end end describe "to_soap_value!" do it "should act like :to_soap_value" do @datetime.to_soap_value.should == @datetime_string end end end
Version data entries
4 entries across 4 versions & 1 rubygems