Sha256: 109cb180fb347695e012fcb222ab4a307421dab086c67322807e07a9104085e2

Contents?: true

Size: 393 Bytes

Versions: 2

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true

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
      expect(subject.operations[:get_lead][:input]).to eq('paramsGetLead')
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wasabi-3.6.1 spec/wasabi/parser/marketo_spec.rb
wasabi-3.6.0 spec/wasabi/parser/marketo_spec.rb