Sha256: 304ef6a1a42e1cd36c779f75b1a74bc1491bd28afffcdbc32ce11e7dbbce381d

Contents?: true

Size: 513 Bytes

Versions: 2

Compression:

Stored size: 513 Bytes

Contents

require 'parser_helper'
require 'mws/reports/parsers/report_acknowledgements'

class ReportAcknowledgementsParserTest < ParserTest
  def setup
    node = fixture('reports/report_acknowledgements').xpath('//xmlns:UpdateReportAcknowledgementsResult')
    @acknowledgments = MWS::Reports::Parsers::ReportAcknowledgements.new(node)
  end

  def test_has_report_acknowledgements
    refute_empty @acknowledgments.to_a
    @acknowledgments.each { |ack| assert_kind_of MWS::Reports::Parsers::ReportInfo, ack }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
peddler-0.6.5 test/mws/reports/parsers/test_report_acknowledgments.rb
peddler-0.6.4 test/mws/reports/parsers/test_report_acknowledgments.rb