Sha256: 42c44e2617ce637cf937049efc74937f7389c42e429255233f216b90b1201ae7

Contents?: true

Size: 583 Bytes

Versions: 2

Compression:

Stored size: 583 Bytes

Contents

require 'parser_helper'
require 'mws/feeds/parsers/feed_submission_list'

class FeedSubmissionListParserTest < ParserTest
  def setup
    node = fixture('feeds/feed_submission_list').xpath('//xmlns:GetFeedSubmissionListResult')
    @feed_submission_list = MWS::Feeds::Parsers::FeedSubmissionList.new(node)
  end

  def test_has_feed_submission_list
    refute_empty @feed_submission_list.to_a
    @feed_submission_list.each { |feed| assert_kind_of MWS::Feeds::Parsers::FeedSubmissionInfo, feed }
  end

  def test_has_token
    assert @feed_submission_list.has_next_token?
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
peddler-0.6.5 test/mws/feeds/parsers/test_feed_submission_list.rb
peddler-0.6.4 test/mws/feeds/parsers/test_feed_submission_list.rb