Sha256: a51cca3449318065185c4624a701180e534e17f2bce8bed21c869d5277904086

Contents?: true

Size: 248 Bytes

Versions: 37

Compression:

Stored size: 248 Bytes

Contents

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

37 entries across 37 versions & 1 rubygems

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