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

Version Path
shopify_api-9.2.0 test/custom_collection_test.rb
shopify_api-9.1.0 test/custom_collection_test.rb
shopify_api-9.0.4 test/custom_collection_test.rb
shopify_api-9.0.3 test/custom_collection_test.rb
shopify_api-9.0.2 test/custom_collection_test.rb
shopify_api-9.0.1 test/custom_collection_test.rb
shopify_api-9.0.0 test/custom_collection_test.rb
shopify_api-8.1.0 test/custom_collection_test.rb
shopify_api-8.0.0 test/custom_collection_test.rb
shopify_api-7.1.0 test/custom_collection_test.rb
shopify_api-7.0.2 test/custom_collection_test.rb
shopify_api-7.0.1 test/custom_collection_test.rb
shopify_api-7.0.0 test/custom_collection_test.rb
shopify_api-6.0.0 test/custom_collection_test.rb
shopify_api-5.2.4 test/custom_collection_test.rb
shopify_api-5.2.3 test/custom_collection_test.rb
shopify_api-5.2.2 test/custom_collection_test.rb
shopify_api-5.2.1 test/custom_collection_test.rb
shopify_api-5.2.0 test/custom_collection_test.rb
shopify_api-5.1.0 test/custom_collection_test.rb