Sha256: d5d56711729a922bec8c355ad727338b6b9598c30bf1fd1645857da937aa4cbc

Contents?: true

Size: 361 Bytes

Versions: 8

Compression:

Stored size: 361 Bytes

Contents

require "spec_helper"

describe Wasabi::Parser do
  context "with: geotrust.wsdl" do

    subject do
      parser = Wasabi::Parser.new Nokogiri::XML(xml)
      parser.parse
      parser
    end

    let(:xml) { fixture(:geotrust).read }

    it "returns the #service_name attribute" do
      subject.service_name.should == "queryDefinitions"
    end

  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
wasabi-3.3.0 spec/wasabi/parser/get_servicename_spec.rb
wasabi_with_adapter-3.2.4 spec/wasabi/parser/get_servicename_spec.rb
wasabi-3.2.3 spec/wasabi/parser/get_servicename_spec.rb
wasabi-3.2.2 spec/wasabi/parser/get_servicename_spec.rb
wasabi-3.2.1 spec/wasabi/parser/get_servicename_spec.rb
wasabi-ng-1.6-3.3.0 spec/wasabi/parser/get_servicename_spec.rb
wasabi-3.2.0 spec/wasabi/parser/get_servicename_spec.rb
wasabi-3.1.0 spec/wasabi/parser/get_servicename_spec.rb