Sha256: 40f4c91cc2b3582c41a8059b66819c7478154638d99b1eb91669598ea45730b5

Contents?: true

Size: 470 Bytes

Versions: 6

Compression:

Stored size: 470 Bytes

Contents

require 'parser_helper'
require 'mws/feeds/parsers/feed_submissions'

class FeedSubmissionsParserTest < ParserTest
  def setup
    node = fixture('feeds/feed_submissions').xpath('//xmlns:CancelFeedSubmissionsResult')
    @cancelations = MWS::Feeds::Parsers::FeedSubmissions.new(node)
  end

  def test_cancelation_count
    assert_kind_of Integer, @cancelations.count
  end

  def test_canceled_feed_submissions
    refute_empty @cancelations.feed_submissions
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
peddler-0.6.5 test/mws/feeds/parsers/test_feed_submissions.rb
peddler-0.6.4 test/mws/feeds/parsers/test_feed_submissions.rb
peddler-0.6.3 test/mws/feeds/parsers/test_feed_submissions.rb
peddler-0.6.2 test/mws/feeds/parsers/test_feed_submissions.rb
peddler-0.6.1 test/mws/feeds/parsers/test_feed_submissions.rb
peddler-0.6.0 test/mws/feeds/parsers/test_feed_submissions.rb