Sha256: f2513e2084fb7834b0794fd3cb5ba536f3b91e38a76da73605e99d78b06d6e8a
Contents?: true
Size: 496 Bytes
Versions: 1
Compression:
Stored size: 496 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 def test [].each { |a| j} end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
caseblocks_api-0.2.2 | spec/lib/caseblocks_api/bucket_results_spec.rb |