Sha256: af5fc52bcd07aadac3169dece5b907b0a89f5a8376aba6bbe3d01f78e6b8015e

Contents?: true

Size: 335 Bytes

Versions: 45

Compression:

Stored size: 335 Bytes

Contents

require 'test_helper'

class CollectTest < Test::Unit::TestCase
  test "#create should create a collect" do
    fake "collects", :method => :post, :status => 201, :body => load_fixture('collect')
    link = ShopifyAPI::Collect.create(:product_id => 921728736, :collection_id => 841564295)
    assert_equal 841564295, link.id
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

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