Sha256: 0aeb7340b1a2d24253d0053ebfdf964c1a2fce7501c721d3b6c87032e4e95e60
Contents?: true
Size: 324 Bytes
Versions: 5
Compression:
Stored size: 324 Bytes
Contents
require 'chewy_kiqqer' desribe ChewyKiqqer::Worker do let(:worker) { ChewyKiqqer::Worker.new } it 'calls the indexing with chewy' do index = double Chewy.should_receive(:derive_type).with('foo#bar').and_return(index) index.should_receive(:import).with(17) worker.perform('foo#bar', index) end end
Version data entries
5 entries across 5 versions & 1 rubygems