Sha256: a173861bf1ce14cfde173f9eabb5f6322e71a35b67adc47965b5a8c214a8c12f

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

require 'test/unit'
require 'citrus/event_bus'

module Citrus
  module EventBus
    class IntegrationTest < Test::Unit::TestCase

      def test_event_flow_on_defaults
        event = Event.for_type(:dummy)
        Thread.new { Publisher.new.(event) }
        received_event = Subscriber.new.()
        assert_equal event, received_event
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
citrus-event-bus-0.0.1 test/integration_test.rb