Sha256: e0f7b4a8be0aa98c39cea02eaeca16ce3603bc65d009cdefbe7e87f33d8d245c
Contents?: true
Size: 396 Bytes
Versions: 3
Compression:
Stored size: 396 Bytes
Contents
require_relative '../../spec_helper' module NonRailsApp describe 'Event Routing' do let(:event) { {'application' => 'rails_app', 'name' => 'user_creates_beaver'} } it 'routes events correctly' do expect(NonRailsApp::EventHandler).to receive(:handle_event) { |full_event| expect(full_event.payload).to eq(event)} rabbit_feed_consumer.consume_event(event) end end end
Version data entries
3 entries across 3 versions & 1 rubygems