Sha256: 582473a7ce0188db223f88465845ec35a8dbe6382e29f6e2bf0d17c9a6e6378c
Contents?: true
Size: 467 Bytes
Versions: 3
Compression:
Stored size: 467 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(Searchable) { client } } 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
3 entries across 3 versions & 1 rubygems