Sha256: 45c102e7991fec8df3f3c60d8c279fe42067ba65bd23ea07adc3f7399fbd8bb3
Contents?: true
Size: 464 Bytes
Versions: 16
Compression:
Stored size: 464 Bytes
Contents
require 'spec_helper' describe CaseblocksAPI::BucketResults do Given(:client){ FakeHttpParty.new } Given(:bucket_name){ "A Bucket" } Given(:bucket_result){ CaseblocksAPI::BucketResults.new(client) } When(:result){ bucket_result.execute(bucket_name) } Then{ expect(result).to eql client.result } Then{ expect(client.requested_url).to eql '/case_blocks/buckets/a_bucket/results' } Then{ expect(client.params).to eql(query: {page_size: 100})} end
Version data entries
16 entries across 16 versions & 1 rubygems