test/unit/mws/test_feeds_client.rb in peddler-1.1.0 vs test/unit/mws/test_feeds_client.rb in peddler-1.1.1
- old
+ new
@@ -71,14 +71,19 @@
assert_equal operation, @client.operation
end
def test_cancels_feed_submissions
operation = {
- 'Action' => 'CancelFeedSubmissions'
+ 'Action' => 'CancelFeedSubmissions',
+ 'FeedTypeList.Type.1' => '1',
+ 'FeedSubmissionIdList.Id.1' => '2'
}
@client.stub(:run, nil) do
- @client.cancel_feed_submissions
+ @client.cancel_feed_submissions(
+ feed_type_list: '1',
+ feed_submission_id_list: '2'
+ )
end
assert_equal operation, @client.operation
end