Sha256: 9cc945c5d1a42eefb871e92c71a7357188cb98ef3e718fc0c0b4d38b065ef8f6

Contents?: true

Size: 253 Bytes

Versions: 2

Compression:

Stored size: 253 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 = SpiffyStoresAPI::Product.count
    assert_equal 16, count
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spiffy_stores_api-4.11.1 test/countable_test.rb
spiffy_stores_api-4.11.0 test/countable_test.rb