Sha256: f238746efa2769295b8e9d13ad46e5dd816d6755f3ab28021fca1b427ce61f47

Contents?: true

Size: 336 Bytes

Versions: 3

Compression:

Stored size: 336 Bytes

Contents

require_relative 'rails_helper'

module RailsApp
  describe 'Event Routing' do
    let(:event) { {'application' => 'non_rails_app', 'name' => 'application_acknowledges_event'} }

    it 'routes events correctly' do
      expect(::EventHandler).to receive(:handle_event)
      rabbit_feed_consumer.consume_event(event)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rabbit_feed-1.0.2 example/rails_app/spec/event_routing_spec.rb
rabbit_feed-1.0.1 example/rails_app/spec/event_routing_spec.rb
rabbit_feed-1.0.0 example/rails_app/spec/event_routing_spec.rb