Sha256: 9ae2822af343aa7d89097071f8887edf9c7b8529e72015c90a226d3589fbe3f5
Contents?: true
Size: 1.07 KB
Versions: 1
Compression:
Stored size: 1.07 KB
Contents
require 'spec_helper' describe TheTradeDeskAds::AdProduct do # def test_list # vcr do # catalog = TheTradeDeskAds::AdProductCatalog.find_by(name: 'Test') # products = catalog.ad_products # product = products.first # assert_equal '1489112071104048', product.id # assert_equal 'retro-ruby-earrings', product.retailer_id # assert_equal 'Precious Retro .925 Sterling Silver Artificial Ruby Earrings', product.name # assert_equal '$5 shipping - at your doorstep within 25-27 business days.', product.description # assert_equal 'Adoration-Precious', product.brand # assert_equal 'Jewelry | Earrings', product.category # assert_equal 'USD', product.currency # assert_equal '$156.00', product.price # assert_equal 'https://external.xx.fbcdn.net/safe_image.php?d=AQALnOfu1mhkpb4T&url=https%3A%2F%2Fd38eepresuu519.cloudfront.net%2F12c85243d743ac3cb21b71c34192b252%2Flarge.jpg&cfs=1&_nc_hash=AQBlxlDCq59tO6sE', product.image_url # assert_equal 'https://tophatter.com/lots/23275728', product.url # end # end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
the_trade_desk_ads-0.0.1 | spec/the_trade_desk_ads/ad_product_spec.rb |