Sha256: bc93d64a38814decc118494445fe2cea3a4d62e30a7d09f3cbe4b307881f2fd5
Contents?: true
Size: 410 Bytes
Versions: 45
Compression:
Stored size: 410 Bytes
Contents
require 'test_helper' class CustomCollectionTest < Test::Unit::TestCase test "#create should create a custom collection" do fake "custom_collections", :method => :post, :status => 201, :body => load_fixture('custom_collection') link = ShopifyAPI::CustomCollection.create(:title => "Macbooks", :image => { :src => "http://example.com/rails_logo.gif" }) assert_equal 1063001463, link.id end end
Version data entries
45 entries across 45 versions & 1 rubygems