Sha256: 54d89731a80b5dbd706c02cc0643a4f317b0fb0824229a717b26a826bffb9aad
Contents?: true
Size: 464 Bytes
Versions: 2
Compression:
Stored size: 464 Bytes
Contents
module CloudSesame module Domain module ClientModule module Caching describe NoCache do class Searchable; end let(:client) { OpenStruct.new(search: nil) } subject { NoCache.new(client, Searchable) } describe 'fetch' do let(:params) {{}} it 'should search with params using client' do expect(client).to receive(:search).with(params) subject.fetch(params) end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
CloudSesame-0.6.5 | spec/cloud_sesame/domain/client_module/caching/no_cache_spec.rb |
CloudSesame-0.6.4 | spec/cloud_sesame/domain/client_module/caching/no_cache_spec.rb |