Sha256: 73930d3dedd0597aebee8c093ec35e1fbf9176a0a1046e91de62ceb900ed9db4
Contents?: true
Size: 492 Bytes
Versions: 4
Compression:
Stored size: 492 Bytes
Contents
module RosettaQueue describe "a consumer manager", :shared => true do def do_process @manager.start end describe ".add" do def do_process @manager.add(@message_handler) end it "should load message_handler into consumer" do during_process { Consumer.should_receive(:new).with(@message_handler) } end it "should allow user to add new consumers" do @manager.consumers.size.should == 1 end end end end
Version data entries
4 entries across 4 versions & 2 rubygems