Sha256: 2750a34670ce10b75471133dde86a0a56528f789b53b2a0388f92289bf053956
Contents?: true
Size: 456 Bytes
Versions: 26
Compression:
Stored size: 456 Bytes
Contents
require 'test_helper' class SmartCollectionTest < Test::Unit::TestCase test "Smart Collection creation" do fake "smart_collections", :method => :post, :status => 201, :body => load_fixture('smart_collection') rules = { :column => "title", :relation => "starts_with", :condition => "mac" } smart_collection = ShopifyAPI::SmartCollection.create(:title => "Macbooks", :rules => rules) assert_equal 1063001432, smart_collection.id end end
Version data entries
26 entries across 26 versions & 1 rubygems