spec/savon/soap_spec.rb in savon-0.8.1 vs spec/savon/soap_spec.rb in savon-0.8.2
- old
+ new
@@ -11,19 +11,11 @@
it "should contain a Rage of supported SOAP versions" do
Savon::SOAP::Versions.should == (1..2)
end
- it "should contain the xs:dateTime format" do
- Savon::SOAP::DateTimeFormat.should be_a(String)
- Savon::SOAP::DateTimeFormat.should_not be_empty
-
- DateTime.new(2012, 03, 22, 16, 22, 33).strftime(Savon::SOAP::DateTimeFormat).
- should == "2012-03-22T16:22:33+00:00"
- end
-
it "should contain a Regexp matching the xs:dateTime format" do
Savon::SOAP::DateTimeRegexp.should be_a(Regexp)
(Savon::SOAP::DateTimeRegexp === "2012-03-22T16:22:33").should be_true
end
-
+
end