Sha256: b09028175d02d8cc3a2339dd2332c0a10024cd73fb729bd3b0fccc1fa5307b2b

Contents?: true

Size: 627 Bytes

Versions: 10

Compression:

Stored size: 627 Bytes

Contents

require "spec_helper"

describe Savon::SOAP do

  it "should contain the SOAP namespace for each supported SOAP version" do
    Savon::SOAP::Versions.each do |soap_version|
      Savon::SOAP::Namespace[soap_version].should be_a(String)
      Savon::SOAP::Namespace[soap_version].should_not be_empty
    end
  end

  it "should contain a Rage of supported SOAP versions" do
    Savon::SOAP::Versions.should == (1..2)
  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

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
search_biomodel-1.0.0 search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/soap_spec.rb
savon-0.9.2 spec/savon/soap_spec.rb
s-savon-0.8.6 spec/savon/soap_spec.rb
savon-0.9.1 spec/savon/soap_spec.rb
savon-0.9.0 spec/savon/soap_spec.rb
savon-0.8.6 spec/savon/soap_spec.rb
savon-0.8.5 spec/savon/soap_spec.rb
savon-0.8.4 spec/savon/soap_spec.rb
savon-0.8.3 spec/savon/soap_spec.rb
savon-0.8.2 spec/savon/soap_spec.rb