Sha256: 8c393d3df5d4622f1ba9ae647dfb8b8bfca92be57eacf07ecb8e09a13278cbcf

Contents?: true

Size: 397 Bytes

Versions: 6

Compression:

Stored size: 397 Bytes

Contents

require 'fex/wsdl'

describe Fex::WSDL do

  subject(:wsdl) { Fex::WSDL.new }

  it "depends on the service" do
    wsdl.path_for("ship").should end_with "wsdl/ship.wsdl"
  end

  it "is a full path" do
    wsdl.path_for("ship").should start_with "/"
  end

  it "raises an exception if the wsdl is not found" do
    expect { wsdl.path_for("nothing") }.to raise_error(Fex::MissingWSDL)
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fex-0.0.6 spec/unit/wsdl_spec.rb
fex-0.0.5 spec/unit/wsdl_spec.rb
fex-0.0.4 spec/unit/wsdl_spec.rb
fex-0.0.3 spec/unit/wsdl_spec.rb
fex-0.0.2 spec/unit/wsdl_spec.rb
fex-0.0.1 spec/unit/wsdl_spec.rb