Sha256: 43d315478705d1f45c47e9e26fe81fdb618389ae69c5a096dde95ea037a936f1
Contents?: true
Size: 367 Bytes
Versions: 14
Compression:
Stored size: 367 Bytes
Contents
require 'spec_helper' describe Eventus::Dispatchers::Synchronous do let(:persistence){ stub.as_null_object } let(:dispatcher) { Eventus::Dispatchers::Synchronous.new(persistence) { @hit = true } } before do persistence.should_receive(:mark_dispatched) dispatcher.dispatch([stub]) end it "should invoke block" do @hit.should == true end end
Version data entries
14 entries across 14 versions & 1 rubygems