Sha256: 2aa144e0339c85a9accddd4d4db986c39021c057e18c2f73592fb852da355435
Contents?: true
Size: 366 Bytes
Versions: 8
Compression:
Stored size: 366 Bytes
Contents
describe Pheme::MessageHandler do before(:each) { use_default_configuration! } let(:message) { RecursiveOpenStruct.new(status: "complete") } subject { ExampleMessageHandler.new(message: message) } describe "#handle" do it "handles the message correctly" do expect(Pheme).to receive(:log).with(:info, "Done") subject.handle end end end
Version data entries
8 entries across 8 versions & 1 rubygems