Sha256: 4e4fe003850ae6e17d6eeb4aec1a27486329da82af1d81447218e79fb5690c8b
Contents?: true
Size: 472 Bytes
Versions: 2
Compression:
Stored size: 472 Bytes
Contents
require 'parser_helper' require 'mws/reports/parsers/report_list' class ReportListParserTest < ParserTest def setup node = fixture('reports/report_list').xpath('//xmlns:GetReportListResult') @list = MWS::Reports::Parsers::ReportList.new(node) end def test_has_report_list refute_empty @list.to_a @list.each { |report| assert_kind_of MWS::Reports::Parsers::ReportInfo, report } end def test_has_token assert @list.has_next_token? end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
peddler-0.6.5 | test/mws/reports/parsers/test_report_list.rb |
peddler-0.6.4 | test/mws/reports/parsers/test_report_list.rb |