Sha256: b13ef99cbe7ef43ec9919574b382c2d35a73914d3bddd56da3ba52b956e8e3c5
Contents?: true
Size: 835 Bytes
Versions: 1
Compression:
Stored size: 835 Bytes
Contents
require 'request_helper' require 'mws/feeds/requests/feed_submissions' class FeedSubmissionsRequesttTest < RequestTest def mock_response_body <<-EOF <Response xmlns="ns"> <Result> <Count>1</Count> <FeedSubmissionInfo> <FeedSubmissionId>123456</FeedSubmissionId> <FeedType>_POST_PRODUCT_DATA_</FeedType> <SubmittedDate>2009-02-20T02:10:35+00:00</SubmittedDate> <FeedProcessingStatus>_CANCELLED_</FeedProcessingStatus> </FeedSubmissionInfo> </Result> </Response> EOF end def setup @feeds = MWS::Feeds::Requests::FeedSubmissions.new(mock_client) end def test_cancels_feedback_submissions res = @feeds.cancel(submitted_from_date: 0) assert_kind_of MWS::Feeds::Parsers::FeedSubmissions, res end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
peddler-0.6.5 | test/mws/feeds/requests/test_feed_submissions.rb |