Sha256: da00ad0aa44cf79ee5f1aa599e7ebfd3b8c18bc72e0d3b853ee687f3037ea7db

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 Bytes

Contents

module ShopifyAPI
  class Test < Base
  end
end

test_response = { "tests" => [] }.to_json

ActiveResource::HttpMock.respond_to do |mock|
  mock.get "/tests.json?limit=25&page=1", {}, test_response
  mock.get "/tests/count.json", {}, { "count" => 0 }.to_json
end

ShopifyAPI::Base.site = "http://localhost"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shopify-kaminari-0.1.0 spec/support/shopify_test_resource.rb