Sha256: 812424781972baa9657c34e850735d147222a4c38c22a02142839c6eee7fb470

Contents?: true

Size: 572 Bytes

Versions: 2

Compression:

Stored size: 572 Bytes

Contents

require 'parser_helper'
require 'mws/feeds/parsers/feed_submission_info'

class FeedSubmissionInfoParserTest < ParserTest
  def setup
    node = fixture('feeds/feed_submission').xpath('//xmlns:FeedSubmissionInfo').first
    @feed = MWS::Feeds::Parsers::FeedSubmissionInfo.new(node)
  end

  def test_id
    assert_kind_of String, @feed.id
  end

  def test_type
    assert_kind_of String, @feed.type
  end

  def test_submitted_at
    assert_kind_of Time, @feed.submitted_at
  end

  def test_processing_status
    assert_kind_of String, @feed.processing_status
  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_info.rb
peddler-0.6.4 test/mws/feeds/parsers/test_feed_submission_info.rb