test/unit/mws/test_feeds_client.rb in peddler-1.6.7 vs test/unit/mws/test_feeds_client.rb in peddler-2.0.0

- old
+ new

@@ -3,21 +3,20 @@ require 'helper' require 'mws/feeds/client' class TestMWSFeedsClient < MiniTest::Test def setup - @client = MWS::Feeds::Client.new + @client = MWS::Feeds::Client.new(marketplace: 'GB') end def test_submits_feed operation = { 'Action' => 'SubmitFeed', 'FeedType' => 'type', 'MarketplaceIdList.Id.1' => '1' } @client.stub(:run, nil) do - @client.primary_marketplace_id = 'A1F83G8C2ARO7P' @client.submit_feed('content', 'type', marketplace_id_list: '1') end assert_equal operation, @client.operation end