Sha256: d4eba542ca85eab79ac03ab1d881584c3a98727684f7d659ae0d586d5d35a35f
Contents?: true
Size: 424 Bytes
Versions: 8
Compression:
Stored size: 424 Bytes
Contents
# frozen_string_literal: true 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
8 entries across 8 versions & 2 rubygems