Sha256: c0d761565201b297529ea6c60104c17c5cbb2b7f59094dc954ec27861badc1f9

Contents?: true

Size: 277 Bytes

Versions: 9

Compression:

Stored size: 277 Bytes

Contents

# frozen_string_literal: true
require 'test_helper'

class CountableTest < Test::Unit::TestCase
  def setup
    super
    fake("products/count", body: '{"count": 16}')
  end

  def test_count_products
    count = ShopifyAPI::Product.count
    assert_equal(16, count)
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
shopify_api-9.5.2 test/countable_test.rb
ruby_shopify_api-1.2.0 test/countable_test.rb
ruby_shopify_api-1.1.0 test/countable_test.rb
ruby_shopify_api-1.0.0 test/countable_test.rb
shopify_api-9.5.1 test/countable_test.rb
shopify_api-9.5 test/countable_test.rb
shopify_api-9.4.1 test/countable_test.rb
shopify_api-9.4.0 test/countable_test.rb
shopify_api-9.3.0 test/countable_test.rb