Sha256: 27293ec198682d8108ac698eeaf23fc609b12e7ef64428642fccb54e0204523d
Contents?: true
Size: 650 Bytes
Versions: 12
Compression:
Stored size: 650 Bytes
Contents
require 'test_helper' class VariantTest < Test::Unit::TestCase def test_get_variants fake "products/632910392/variants", :method => :get, :body => load_fixture('variants') v = ShopifyAPI::Variant.find(:all, :params => {:product_id => 632910392}) end def test_get_variant_namespaced fake "products/632910392/variants/808950810", :method => :get, :body => load_fixture('variant') v = ShopifyAPI::Variant.find(808950810, :params => {:product_id => 632910392}) end def test_get_variant fake "variants/808950810", :method => :get, :body => load_fixture('variant') v = ShopifyAPI::Variant.find(808950810) end end
Version data entries
12 entries across 12 versions & 1 rubygems