Sha256: 1fe089b3991bf3a1ea3112a786c52f09afa3eada6d493068a58ec55829848254

Contents?: true

Size: 368 Bytes

Versions: 3

Compression:

Stored size: 368 Bytes

Contents

require 'spec_helper'

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

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

    it 'parses the operations' do
      expect(subject.operations[:get_feeds][:input]).to eq('getFeeds')
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wasabi-3.5.0 spec/wasabi/parser/tradetracker_spec.rb
wasabi-3.4.0 spec/wasabi/parser/tradetracker_spec.rb
wasabi-3.3.1 spec/wasabi/parser/tradetracker_spec.rb