Sha256: fe0f8e7c0d84f9d1d46bfc98a9ba61bd7e45bd77aa0e06bfcb9e5400357b5741
Contents?: true
Size: 775 Bytes
Versions: 48
Compression:
Stored size: 775 Bytes
Contents
require 'spec_helper' require 'event/shared_event' require 'flydata-core/event/flydata_event_sender' require 'flydata-core/event/flydata_event_processor' module FlydataCore module Event describe "FlydataEventSender" do subject {FlydataEventSender.new} context "#send_event" do subject{ send_event("test","testing", id: 1) } it "should raise exception" do expect { raise Exception} end end end describe "SimpleEventSender" do sender = SimpleEventSender.new context "#send_event" do it do expect(Handler1).to receive(:handle) expect(Handler2).to receive(:handle) sender.send_event("test","testing") end end end end end
Version data entries
48 entries across 48 versions & 1 rubygems