Sha256: 64ec769c72369ab8dad4491ededd9d3a51d6a6f2790f77a26c8669ae01947115
Contents?: true
Size: 323 Bytes
Versions: 1
Compression:
Stored size: 323 Bytes
Contents
require 'spec_helper' describe CaseblocksAPI::GetCases do it "should call the API with a list of ids" do ids = ['1', '2'] client = double('client') client.should_receive(:get).with('/case_blocks/cases', {query: {ids: ids}}) CaseblocksAPI::GetCases.new(client).execute(ids) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
caseblocks_api-0.2.12 | spec/lib/caseblocks_api/get_cases_spec.rb |