test/unit/mws/test_feeds_client.rb in peddler-2.0.4 vs test/unit/mws/test_feeds_client.rb in peddler-2.1.0

- old
+ new

@@ -6,11 +6,11 @@ class TestMWSFeedsClient < MiniTest::Test def setup @client = MWS::Feeds::Client.new(marketplace: 'GB') end - def test_submits_feed + def test_submitting_feed operation = { 'Action' => 'SubmitFeed', 'FeedType' => 'type', 'MarketplaceIdList.Id.1' => '1' } @@ -20,11 +20,11 @@ end assert_equal operation, @client.operation end - def test_gets_feed_submission_list + def test_getting_feed_submission_list operation = { 'Action' => 'GetFeedSubmissionList', 'FeedSubmissionIdList.Id.1' => '1', 'FeedTypeList.Type.1' => '2', 'FeedProcessingStatusList.Status.1' => '3' @@ -39,11 +39,11 @@ end assert_equal operation, @client.operation end - def test_gets_feed_submission_list_by_next_token + def test_getting_feed_submission_list_by_next_token operation = { 'Action' => 'GetFeedSubmissionListByNextToken', 'NextToken' => '1' } @@ -52,11 +52,11 @@ end assert_equal operation, @client.operation end - def test_gets_feed_submission_count + def test_getting_feed_submission_count operation = { 'Action' => 'GetFeedSubmissionCount', 'FeedTypeList.Type.1' => '1', 'FeedProcessingStatusList.Status.1' => '2' } @@ -69,11 +69,11 @@ end assert_equal operation, @client.operation end - def test_cancels_feed_submissions + def test_canceling_feed_submissions operation = { 'Action' => 'CancelFeedSubmissions', 'FeedTypeList.Type.1' => '1', 'FeedSubmissionIdList.Id.1' => '2' } @@ -86,10 +86,10 @@ end assert_equal operation, @client.operation end - def test_gets_feed_submission_result + def test_getting_feed_submission_result operation = { 'Action' => 'GetFeedSubmissionResult', 'FeedSubmissionId' => '1' }