Sha256: 71487d4616c4e520b5c91721b72aa333bc3ccc52b557528c3e2a1702bcb13c8e
Contents?: true
Size: 1.09 KB
Versions: 7
Compression:
Stored size: 1.09 KB
Contents
# frozen_string_literal: true require 'spec_helper' describe FacebookAds::AdProduct do # def test_list # vcr do # catalog = FacebookAds::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
7 entries across 7 versions & 1 rubygems