Sha256: 1cb7d637436400d214c8464e51a56ea90e943db25f530ae52caac3eaddd2ab5c
Contents?: true
Size: 322 Bytes
Versions: 8
Compression:
Stored size: 322 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
8 entries across 8 versions & 1 rubygems