peddler 2.0.4 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -18
  3. data/lib/mws/fulfillment_inbound_shipment/client.rb +18 -0
  4. data/lib/mws/fulfillment_outbound_shipment/client.rb +0 -11
  5. data/lib/mws/reports/parser.rb +35 -0
  6. data/lib/peddler/errors/builder.rb +2 -1
  7. data/lib/peddler/errors/class_generator.rb +1 -0
  8. data/lib/peddler/flat_file_parser.rb +1 -0
  9. data/lib/peddler/headers.rb +4 -0
  10. data/lib/peddler/marketplace.rb +1 -0
  11. data/lib/peddler/operation.rb +12 -2
  12. data/lib/peddler/version.rb +1 -1
  13. data/lib/peddler/xml_parser.rb +1 -0
  14. data/lib/peddler/xml_response_parser.rb +1 -1
  15. data/test/helper.rb +1 -0
  16. data/test/integration/test_feeds.rb +3 -3
  17. data/test/integration/test_fulfillment_inbound_shipment.rb +3 -3
  18. data/test/integration/test_fulfillment_inventory.rb +2 -2
  19. data/test/integration/test_fulfillment_outbound_shipment.rb +1 -1
  20. data/test/integration/test_merchant_fulfillment.rb +57 -1
  21. data/test/integration/test_multibyte_queries.rb +1 -1
  22. data/test/integration/test_mws_headers.rb +1 -1
  23. data/test/integration/test_off_amazon_payments.rb +1 -1
  24. data/test/integration/test_orders.rb +2 -2
  25. data/test/integration/test_products.rb +12 -12
  26. data/test/integration/test_recommendations.rb +2 -2
  27. data/test/integration/test_reports.rb +6 -6
  28. data/test/integration/test_sellers.rb +1 -1
  29. data/test/integration/test_subscriptions.rb +3 -3
  30. data/test/integration_helper.rb +9 -7
  31. data/test/unit/mws/test_feeds_client.rb +6 -6
  32. data/test/unit/mws/test_finances_client.rb +5 -5
  33. data/test/unit/mws/test_fulfillment_inbound_shipment_client.rb +40 -24
  34. data/test/unit/mws/test_fulfillment_inventory_client.rb +3 -3
  35. data/test/unit/mws/test_fulfillment_outbound_shipment_client.rb +11 -11
  36. data/test/unit/mws/test_merchant_fulfillment_client.rb +5 -5
  37. data/test/unit/mws/test_off_amazon_payments_client.rb +17 -17
  38. data/test/unit/mws/test_orders_client.rb +7 -7
  39. data/test/unit/mws/test_products_client.rb +15 -15
  40. data/test/unit/mws/test_recommendations_client.rb +4 -4
  41. data/test/unit/mws/test_reports_client.rb +14 -14
  42. data/test/unit/mws/test_sellers_client.rb +3 -3
  43. data/test/unit/mws/test_subscriptions_client.rb +11 -11
  44. data/test/unit/peddler/errors/test_builder.rb +4 -4
  45. data/test/unit/peddler/errors/test_class_generator.rb +1 -1
  46. data/test/unit/peddler/errors/test_error.rb +5 -5
  47. data/test/unit/peddler/errors/test_parser.rb +4 -4
  48. data/test/unit/peddler/test_client.rb +20 -20
  49. data/test/unit/peddler/test_flat_file_parser.rb +11 -11
  50. data/test/unit/peddler/test_headers.rb +1 -1
  51. data/test/unit/peddler/test_marketplace.rb +1 -1
  52. data/test/unit/peddler/test_operation.rb +18 -12
  53. data/test/unit/peddler/test_parser.rb +3 -3
  54. data/test/unit/peddler/test_structured_list.rb +5 -5
  55. data/test/unit/peddler/test_vcr_matcher.rb +4 -4
  56. data/test/unit/peddler/test_xml_parser.rb +3 -3
  57. data/test/unit/peddler/test_xml_response_parser.rb +4 -4
  58. data/test/unit/test_mws.rb +1 -1
  59. data/test/vcr_cassettes/FulfillmentInboundShipment.yml +36 -36
  60. data/test/vcr_cassettes/MerchantFulfillment.yml +309 -1
  61. metadata +3 -2
@@ -8,7 +8,7 @@ class TestMWSFulfillmentInventoryClient < MiniTest::Test
8
8
  @client = MWS::FulfillmentInventory::Client.new
9
9
  end
10
10
 
11
- def test_lists_inventory_supply
11
+ def test_listing_inventory_supply
12
12
  operation = {
13
13
  'Action' => 'ListInventorySupply',
14
14
  'SellerSkus.member.1' => '1'
@@ -21,7 +21,7 @@ class TestMWSFulfillmentInventoryClient < MiniTest::Test
21
21
  assert_equal operation, @client.operation
22
22
  end
23
23
 
24
- def test_lists_inventory_supply_by_next_token
24
+ def test_listing_inventory_supply_by_next_token
25
25
  operation = {
26
26
  'Action' => 'ListInventorySupplyByNextToken',
27
27
  'NextToken' => '1'
@@ -34,7 +34,7 @@ class TestMWSFulfillmentInventoryClient < MiniTest::Test
34
34
  assert_equal operation, @client.operation
35
35
  end
36
36
 
37
- def test_gets_service_status
37
+ def test_getting_service_status
38
38
  operation = {
39
39
  'Action' => 'GetServiceStatus'
40
40
  }
@@ -8,7 +8,7 @@ class TestMWSFulfillmentOutboundShipmentClient < MiniTest::Test
8
8
  @client = MWS::FulfillmentOutboundShipment::Client.new
9
9
  end
10
10
 
11
- def test_gets_fulfillment_preview
11
+ def test_getting_fulfillment_preview
12
12
  operation = {
13
13
  'Action' => 'GetFulfillmentPreview',
14
14
  'Address.Foo' => '1',
@@ -29,7 +29,7 @@ class TestMWSFulfillmentOutboundShipmentClient < MiniTest::Test
29
29
  assert_equal operation, @client.operation
30
30
  end
31
31
 
32
- def test_creates_fulfillment_order
32
+ def test_creating_fulfillment_order
33
33
  operation = {
34
34
  'Action' => 'CreateFulfillmentOrder',
35
35
  'SellerFulfillmentOrderId' => '1',
@@ -56,7 +56,7 @@ class TestMWSFulfillmentOutboundShipmentClient < MiniTest::Test
56
56
  assert_equal operation, @client.operation
57
57
  end
58
58
 
59
- def test_updates_fulfillment_order
59
+ def test_updating_fulfillment_order
60
60
  operation = {
61
61
  'Action' => 'UpdateFulfillmentOrder',
62
62
  'SellerFulfillmentOrderId' => '1',
@@ -75,7 +75,7 @@ class TestMWSFulfillmentOutboundShipmentClient < MiniTest::Test
75
75
  assert_equal operation, @client.operation
76
76
  end
77
77
 
78
- def test_gets_fulfillment_order
78
+ def test_getting_fulfillment_order
79
79
  operation = {
80
80
  'Action' => 'GetFulfillmentOrder',
81
81
  'SellerFulfillmentOrderId' => '1'
@@ -88,7 +88,7 @@ class TestMWSFulfillmentOutboundShipmentClient < MiniTest::Test
88
88
  assert_equal operation, @client.operation
89
89
  end
90
90
 
91
- def test_lists_all_fulfillment_orders
91
+ def test_listing_all_fulfillment_orders
92
92
  started_at = Time.now
93
93
 
94
94
  operation = {
@@ -103,7 +103,7 @@ class TestMWSFulfillmentOutboundShipmentClient < MiniTest::Test
103
103
  assert_equal operation, @client.operation
104
104
  end
105
105
 
106
- def test_lists_all_fulfillment_orders_by_next_token
106
+ def test_listing_all_fulfillment_orders_by_next_token
107
107
  operation = {
108
108
  'Action' => 'ListAllFulfillmentOrdersByNextToken',
109
109
  'NextToken' => '1'
@@ -116,7 +116,7 @@ class TestMWSFulfillmentOutboundShipmentClient < MiniTest::Test
116
116
  assert_equal operation, @client.operation
117
117
  end
118
118
 
119
- def test_gets_package_tracking_details
119
+ def test_getting_package_tracking_details
120
120
  operation = {
121
121
  'Action' => 'GetPackageTrackingDetails',
122
122
  'PackageNumber' => '1'
@@ -129,7 +129,7 @@ class TestMWSFulfillmentOutboundShipmentClient < MiniTest::Test
129
129
  assert_equal operation, @client.operation
130
130
  end
131
131
 
132
- def test_cancels_fulfillment_order
132
+ def test_canceling_fulfillment_order
133
133
  operation = {
134
134
  'Action' => 'CancelFulfillmentOrder',
135
135
  'SellerFulfillmentOrderId' => '1'
@@ -142,7 +142,7 @@ class TestMWSFulfillmentOutboundShipmentClient < MiniTest::Test
142
142
  assert_equal operation, @client.operation
143
143
  end
144
144
 
145
- def test_lists_return_reason_codes
145
+ def test_listing_return_reason_codes
146
146
  seller_sku = 'ABC123'
147
147
  seller_fulfillment_order_id = '123ABC'
148
148
 
@@ -162,7 +162,7 @@ class TestMWSFulfillmentOutboundShipmentClient < MiniTest::Test
162
162
  assert_equal operation, @client.operation
163
163
  end
164
164
 
165
- def test_creates_fulfillment_return
165
+ def test_creating_fulfillment_return
166
166
  seller_fulfillment_order_id = 'ABC123'
167
167
 
168
168
  item = { seller_return_item_id: 'ABC123',
@@ -188,7 +188,7 @@ class TestMWSFulfillmentOutboundShipmentClient < MiniTest::Test
188
188
  assert_equal operation, @client.operation
189
189
  end
190
190
 
191
- def test_gets_service_status
191
+ def test_getting_service_status
192
192
  operation = {
193
193
  'Action' => 'GetServiceStatus'
194
194
  }
@@ -8,7 +8,7 @@ class TestMWSMerchantFulfillmentClient < MiniTest::Test
8
8
  @client = MWS::MerchantFulfillment::Client.new
9
9
  end
10
10
 
11
- def test_gets_eligible_shipping_services
11
+ def test_getting_eligible_shipping_services
12
12
  operation = {
13
13
  'Action' => 'GetEligibleShippingServices',
14
14
  'ShipmentRequestDetails.AmazonOrderId' => '123',
@@ -38,7 +38,7 @@ class TestMWSMerchantFulfillmentClient < MiniTest::Test
38
38
  assert_equal operation, @client.operation
39
39
  end
40
40
 
41
- def test_creates_shipment
41
+ def test_creating_shipment
42
42
  operation = {
43
43
  'Action' => 'CreateShipment',
44
44
  'ShipmentRequestDetails.AmazonOrderId' => '123',
@@ -69,7 +69,7 @@ class TestMWSMerchantFulfillmentClient < MiniTest::Test
69
69
  assert_equal operation, @client.operation
70
70
  end
71
71
 
72
- def test_gets_shipment
72
+ def test_getting_shipment
73
73
  operation = {
74
74
  'Action' => 'GetShipment',
75
75
  'ShipmentId' => '123'
@@ -82,7 +82,7 @@ class TestMWSMerchantFulfillmentClient < MiniTest::Test
82
82
  assert_equal operation, @client.operation
83
83
  end
84
84
 
85
- def test_cancels_shipment
85
+ def test_canceling_shipment
86
86
  operation = {
87
87
  'Action' => 'CancelShipment',
88
88
  'ShipmentId' => '123'
@@ -95,7 +95,7 @@ class TestMWSMerchantFulfillmentClient < MiniTest::Test
95
95
  assert_equal operation, @client.operation
96
96
  end
97
97
 
98
- def test_gets_service_status
98
+ def test_getting_service_status
99
99
  operation = {
100
100
  'Action' => 'GetServiceStatus'
101
101
  }
@@ -14,7 +14,7 @@ class TestMWSOffAmazonPaymentsClient < MiniTest::Test
14
14
  assert_includes @client.sandbox.aws_endpoint, 'Sandbox'
15
15
  end
16
16
 
17
- def test_creates_order_reference_for_id
17
+ def test_creating_order_reference_for_id
18
18
  operation = {
19
19
  'Action' => 'CreateOrderReferenceForId',
20
20
  'Id' => '1',
@@ -28,7 +28,7 @@ class TestMWSOffAmazonPaymentsClient < MiniTest::Test
28
28
  assert_equal operation, @client.operation
29
29
  end
30
30
 
31
- def test_gets_billing_agreement_details
31
+ def test_getting_billing_agreement_details
32
32
  operation = {
33
33
  'Action' => 'GetBillingAgreementDetails',
34
34
  'AmazonBillingAgreementId' => '1'
@@ -41,7 +41,7 @@ class TestMWSOffAmazonPaymentsClient < MiniTest::Test
41
41
  assert_equal operation, @client.operation
42
42
  end
43
43
 
44
- def test_sets_billing_agreement_details
44
+ def test_setting_billing_agreement_details
45
45
  operation = {
46
46
  'Action' => 'SetBillingAgreementDetails',
47
47
  'AmazonBillingAgreementId' => '1',
@@ -55,7 +55,7 @@ class TestMWSOffAmazonPaymentsClient < MiniTest::Test
55
55
  assert_equal operation, @client.operation
56
56
  end
57
57
 
58
- def test_confirms_billing_agreement
58
+ def test_confirming_billing_agreement
59
59
  operation = {
60
60
  'Action' => 'ConfirmBillingAgreement',
61
61
  'AmazonBillingAgreementId' => '1'
@@ -68,7 +68,7 @@ class TestMWSOffAmazonPaymentsClient < MiniTest::Test
68
68
  assert_equal operation, @client.operation
69
69
  end
70
70
 
71
- def test_validates_billing_agreement
71
+ def test_validating_billing_agreement
72
72
  operation = {
73
73
  'Action' => 'ValidateBillingAgreement',
74
74
  'AmazonBillingAgreementId' => '1'
@@ -81,7 +81,7 @@ class TestMWSOffAmazonPaymentsClient < MiniTest::Test
81
81
  assert_equal operation, @client.operation
82
82
  end
83
83
 
84
- def test_authorizes_on_billing_agreement
84
+ def test_authorizing_on_billing_agreement
85
85
  operation = {
86
86
  'Action' => 'AuthorizeOnBillingAgreement',
87
87
  'AmazonBillingAgreementId' => '1',
@@ -96,7 +96,7 @@ class TestMWSOffAmazonPaymentsClient < MiniTest::Test
96
96
  assert_equal operation, @client.operation
97
97
  end
98
98
 
99
- def test_closes_billing_agreement
99
+ def test_closing_billing_agreement
100
100
  operation = {
101
101
  'Action' => 'CloseBillingAgreement',
102
102
  'AmazonBillingAgreementId' => '1'
@@ -109,7 +109,7 @@ class TestMWSOffAmazonPaymentsClient < MiniTest::Test
109
109
  assert_equal operation, @client.operation
110
110
  end
111
111
 
112
- def test_sets_order_reference_details
112
+ def test_setting_order_reference_details
113
113
  operation = {
114
114
  'Action' => 'SetOrderReferenceDetails',
115
115
  'AmazonOrderReferenceId' => '1',
@@ -123,7 +123,7 @@ class TestMWSOffAmazonPaymentsClient < MiniTest::Test
123
123
  assert_equal operation, @client.operation
124
124
  end
125
125
 
126
- def test_gets_order_reference_details
126
+ def test_getting_order_reference_details
127
127
  operation = {
128
128
  'Action' => 'GetOrderReferenceDetails',
129
129
  'AmazonOrderReferenceId' => '1'
@@ -136,7 +136,7 @@ class TestMWSOffAmazonPaymentsClient < MiniTest::Test
136
136
  assert_equal operation, @client.operation
137
137
  end
138
138
 
139
- def test_confirms_order_reference
139
+ def test_confirming_order_reference
140
140
  operation = {
141
141
  'Action' => 'ConfirmOrderReference',
142
142
  'AmazonOrderReferenceId' => '1'
@@ -149,7 +149,7 @@ class TestMWSOffAmazonPaymentsClient < MiniTest::Test
149
149
  assert_equal operation, @client.operation
150
150
  end
151
151
 
152
- def test_cancels_order_reference
152
+ def test_canceling_order_reference
153
153
  operation = {
154
154
  'Action' => 'CancelOrderReference',
155
155
  'AmazonOrderReferenceId' => '1'
@@ -162,7 +162,7 @@ class TestMWSOffAmazonPaymentsClient < MiniTest::Test
162
162
  assert_equal operation, @client.operation
163
163
  end
164
164
 
165
- def test_closes_order_reference
165
+ def test_closing_order_reference
166
166
  operation = {
167
167
  'Action' => 'CloseOrderReference',
168
168
  'AmazonOrderReferenceId' => '1'
@@ -190,7 +190,7 @@ class TestMWSOffAmazonPaymentsClient < MiniTest::Test
190
190
  assert_equal operation, @client.operation
191
191
  end
192
192
 
193
- def test_gets_authorization_details
193
+ def test_getting_authorization_details
194
194
  operation = {
195
195
  'Action' => 'GetAuthorizationDetails',
196
196
  'AmazonAuthorizationId' => '1'
@@ -218,7 +218,7 @@ class TestMWSOffAmazonPaymentsClient < MiniTest::Test
218
218
  assert_equal operation, @client.operation
219
219
  end
220
220
 
221
- def test_gets_capture_details
221
+ def test_getting_capture_details
222
222
  operation = {
223
223
  'Action' => 'GetCaptureDetails',
224
224
  'AmazonCaptureId' => '1'
@@ -231,7 +231,7 @@ class TestMWSOffAmazonPaymentsClient < MiniTest::Test
231
231
  assert_equal operation, @client.operation
232
232
  end
233
233
 
234
- def test_closes_authorization
234
+ def test_closing_authorization
235
235
  operation = {
236
236
  'Action' => 'CloseAuthorization',
237
237
  'AmazonAuthorizationId' => '1'
@@ -259,7 +259,7 @@ class TestMWSOffAmazonPaymentsClient < MiniTest::Test
259
259
  assert_equal operation, @client.operation
260
260
  end
261
261
 
262
- def test_gets_refund_details
262
+ def test_getting_refund_details
263
263
  operation = {
264
264
  'Action' => 'GetRefundDetails',
265
265
  'AmazonRefundId' => '1'
@@ -272,7 +272,7 @@ class TestMWSOffAmazonPaymentsClient < MiniTest::Test
272
272
  assert_equal operation, @client.operation
273
273
  end
274
274
 
275
- def test_gets_service_status
275
+ def test_getting_service_status
276
276
  operation = {
277
277
  'Action' => 'GetServiceStatus'
278
278
  }
@@ -8,7 +8,7 @@ class TestMWSOrdersClient < MiniTest::Test
8
8
  @client = MWS::Orders::Client.new
9
9
  end
10
10
 
11
- def test_lists_orders
11
+ def test_listing_orders
12
12
  operation = {
13
13
  'Action' => 'ListOrders',
14
14
  'CreatedAfter' => '2016-01-01',
@@ -33,7 +33,7 @@ class TestMWSOrdersClient < MiniTest::Test
33
33
  assert_equal operation, @client.operation
34
34
  end
35
35
 
36
- def test_requires_start_time_keyword_when_listing_orders
36
+ def test_that_listing_orders_requires_start_time_keyword
37
37
  @client.stub(:run, nil) do
38
38
  error = assert_raises ArgumentError do
39
39
  @client.list_orders('123')
@@ -44,7 +44,7 @@ class TestMWSOrdersClient < MiniTest::Test
44
44
  end
45
45
  end
46
46
 
47
- def test_lists_orders_by_next_token
47
+ def test_listing_orders_by_next_token
48
48
  operation = {
49
49
  'Action' => 'ListOrdersByNextToken',
50
50
  'NextToken' => '1'
@@ -57,7 +57,7 @@ class TestMWSOrdersClient < MiniTest::Test
57
57
  assert_equal operation, @client.operation
58
58
  end
59
59
 
60
- def test_gets_order
60
+ def test_getting_order
61
61
  operation = {
62
62
  'Action' => 'GetOrder',
63
63
  'AmazonOrderId.Id.1' => '1',
@@ -71,7 +71,7 @@ class TestMWSOrdersClient < MiniTest::Test
71
71
  assert_equal operation, @client.operation
72
72
  end
73
73
 
74
- def test_lists_order_items
74
+ def test_listing_order_items
75
75
  operation = {
76
76
  'Action' => 'ListOrderItems',
77
77
  'AmazonOrderId' => '1'
@@ -84,7 +84,7 @@ class TestMWSOrdersClient < MiniTest::Test
84
84
  assert_equal operation, @client.operation
85
85
  end
86
86
 
87
- def test_lists_order_items_by_next_token
87
+ def test_listing_order_items_by_next_token
88
88
  operation = {
89
89
  'Action' => 'ListOrderItemsByNextToken',
90
90
  'NextToken' => '1'
@@ -97,7 +97,7 @@ class TestMWSOrdersClient < MiniTest::Test
97
97
  assert_equal operation, @client.operation
98
98
  end
99
99
 
100
- def test_gets_service_status
100
+ def test_getting_service_status
101
101
  operation = {
102
102
  'Action' => 'GetServiceStatus'
103
103
  }
@@ -8,7 +8,7 @@ class TestMWSProductsClient < MiniTest::Test
8
8
  @client = MWS::Products::Client.new
9
9
  end
10
10
 
11
- def test_lists_matching_products
11
+ def test_listing_matching_products
12
12
  operation = {
13
13
  'Action' => 'ListMatchingProducts',
14
14
  'MarketplaceId' => '123',
@@ -22,7 +22,7 @@ class TestMWSProductsClient < MiniTest::Test
22
22
  assert_equal operation, @client.operation
23
23
  end
24
24
 
25
- def test_gets_matching_product_for_id
25
+ def test_getting_matching_product_for_id
26
26
  operation = {
27
27
  'Action' => 'GetMatchingProductForId',
28
28
  'MarketplaceId' => '123',
@@ -37,7 +37,7 @@ class TestMWSProductsClient < MiniTest::Test
37
37
  assert_equal operation, @client.operation
38
38
  end
39
39
 
40
- def test_gets_matching_product
40
+ def test_getting_matching_product
41
41
  operation = {
42
42
  'Action' => 'GetMatchingProduct',
43
43
  'MarketplaceId' => '123',
@@ -51,7 +51,7 @@ class TestMWSProductsClient < MiniTest::Test
51
51
  assert_equal operation, @client.operation
52
52
  end
53
53
 
54
- def test_gets_competitive_pricing_for_sku
54
+ def test_getting_competitive_pricing_for_sku
55
55
  operation = {
56
56
  'Action' => 'GetCompetitivePricingForSKU',
57
57
  'MarketplaceId' => '123',
@@ -65,7 +65,7 @@ class TestMWSProductsClient < MiniTest::Test
65
65
  assert_equal operation, @client.operation
66
66
  end
67
67
 
68
- def test_gets_competitive_pricing_for_asin
68
+ def test_getting_competitive_pricing_for_asin
69
69
  operation = {
70
70
  'Action' => 'GetCompetitivePricingForASIN',
71
71
  'MarketplaceId' => '123',
@@ -79,7 +79,7 @@ class TestMWSProductsClient < MiniTest::Test
79
79
  assert_equal operation, @client.operation
80
80
  end
81
81
 
82
- def test_gets_lowest_offer_listings_for_sku
82
+ def test_getting_lowest_offer_listings_for_sku
83
83
  operation = {
84
84
  'Action' => 'GetLowestOfferListingsForSKU',
85
85
  'MarketplaceId' => '123',
@@ -93,7 +93,7 @@ class TestMWSProductsClient < MiniTest::Test
93
93
  assert_equal operation, @client.operation
94
94
  end
95
95
 
96
- def test_gets_lowest_priced_offers_for_sku
96
+ def test_getting_lowest_priced_offers_for_sku
97
97
  operation = {
98
98
  'Action' => 'GetLowestPricedOffersForSKU',
99
99
  'MarketplaceId' => '123',
@@ -108,7 +108,7 @@ class TestMWSProductsClient < MiniTest::Test
108
108
  assert_equal operation, @client.operation
109
109
  end
110
110
 
111
- def test_gets_lowest_priced_offers_for_asin
111
+ def test_getting_lowest_priced_offers_for_asin
112
112
  operation = {
113
113
  'Action' => 'GetLowestPricedOffersForASIN',
114
114
  'MarketplaceId' => '123',
@@ -123,7 +123,7 @@ class TestMWSProductsClient < MiniTest::Test
123
123
  assert_equal operation, @client.operation
124
124
  end
125
125
 
126
- def test_gets_lowest_offer_listings_for_asin
126
+ def test_getting_lowest_offer_listings_for_asin
127
127
  operation = {
128
128
  'Action' => 'GetLowestOfferListingsForASIN',
129
129
  'MarketplaceId' => '123',
@@ -137,7 +137,7 @@ class TestMWSProductsClient < MiniTest::Test
137
137
  assert_equal operation, @client.operation
138
138
  end
139
139
 
140
- def test_gets_my_fees_estimate
140
+ def test_getting_my_fees_estimate
141
141
  operation = {
142
142
  'Action' => 'GetMyFeesEstimate',
143
143
  'FeesEstimateRequestList.FeesEstimateRequest.1.MarketplaceId' => '123',
@@ -178,7 +178,7 @@ class TestMWSProductsClient < MiniTest::Test
178
178
  assert_equal operation, @client.operation
179
179
  end
180
180
 
181
- def test_gets_my_price_for_sku
181
+ def test_getting_my_price_for_sku
182
182
  operation = {
183
183
  'Action' => 'GetMyPriceForSKU',
184
184
  'MarketplaceId' => '123',
@@ -192,7 +192,7 @@ class TestMWSProductsClient < MiniTest::Test
192
192
  assert_equal operation, @client.operation
193
193
  end
194
194
 
195
- def test_gets_my_price_for_asin
195
+ def test_getting_my_price_for_asin
196
196
  operation = {
197
197
  'Action' => 'GetMyPriceForASIN',
198
198
  'MarketplaceId' => '123',
@@ -206,7 +206,7 @@ class TestMWSProductsClient < MiniTest::Test
206
206
  assert_equal operation, @client.operation
207
207
  end
208
208
 
209
- def test_gets_product_categories_for_sku
209
+ def test_getting_product_categories_for_sku
210
210
  operation = {
211
211
  'Action' => 'GetProductCategoriesForSKU',
212
212
  'MarketplaceId' => '123',
@@ -220,7 +220,7 @@ class TestMWSProductsClient < MiniTest::Test
220
220
  assert_equal operation, @client.operation
221
221
  end
222
222
 
223
- def test_gets_product_categories_for_asin
223
+ def test_getting_product_categories_for_asin
224
224
  operation = {
225
225
  'Action' => 'GetProductCategoriesForASIN',
226
226
  'MarketplaceId' => '123',
@@ -234,7 +234,7 @@ class TestMWSProductsClient < MiniTest::Test
234
234
  assert_equal operation, @client.operation
235
235
  end
236
236
 
237
- def test_gets_service_status
237
+ def test_getting_service_status
238
238
  operation = {
239
239
  'Action' => 'GetServiceStatus'
240
240
  }