test/unit/peddler/test_operation.rb in peddler-0.13.0 vs test/unit/peddler/test_operation.rb in peddler-0.14.0

- old
+ new

@@ -25,9 +25,15 @@ @operation.store(:foo_bar, 'baz') assert @operation.has_key?('FooBar') refute @operation.has_key?(:foo_bar) end + def test_store_upcases_sku + @operation.store(:seller_sku, 'baz') + assert @operation.has_key?('SellerSKU') + refute @operation.has_key?(:seller_sku) + end + def test_store_timestamps_time_values ts = Minitest::Mock.new ts.expect(:iso8601, 'foo') @operation.store('time', ts)