Sha256: 6e5cf014daaaece8e03e7e4e1349db166387e2bb39073ef2690a10332557b294

Contents?: true

Size: 357 Bytes

Versions: 3

Compression:

Stored size: 357 Bytes

Contents

require 'spec_helper'

describe Wasabi::Parser do
  context 'with: marketo.wsdl' do
    subject do
      parser = Wasabi::Parser.new Nokogiri::XML(xml)
      parser.parse
      parser
    end

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

    it 'parses the operations' do
      subject.operations[:get_lead][:input].should == 'paramsGetLead'
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
wasabi-3.3.0 spec/wasabi/parser/marketo_spec.rb
wasabi_with_adapter-3.2.4 spec/wasabi/parser/marketo_spec.rb
wasabi-3.2.3 spec/wasabi/parser/marketo_spec.rb