Sha256: 217518a9dfad01b3a9237d5838cf27a1afda8619f1b758dd4d018e36bcc3924e
Contents?: true
Size: 732 Bytes
Versions: 64
Compression:
Stored size: 732 Bytes
Contents
require 'test_helper' class AssetTest < Test::Unit::TestCase def test_get_assetss fake "themes/1/assets", :method => :get, :body => load_fixture('assets') v = ShopifyAPI::Asset.find(:all, :params => {:theme_id => 1}) end def test_get_asset_namespaced fake "themes/1/assets.json?asset%5Bkey%5D=templates%2Findex.liquid&theme_id=1", :extension=> false, :method => :get, :body => load_fixture('asset') v = ShopifyAPI::Asset.find('templates/index.liquid', :params => {:theme_id => 1}) end def test_get_asset fake "assets.json?asset%5Bkey%5D=templates%2Findex.liquid", :extension=> false, :method => :get, :body => load_fixture('asset') v = ShopifyAPI::Asset.find('templates/index.liquid') end end
Version data entries
64 entries across 64 versions & 1 rubygems