We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a9e475 commit 8c8ad7aCopy full SHA for 8c8ad7a
notifications/spec/notifications/slack_notifier_spec.rb
@@ -176,7 +176,10 @@ def given(*domain_events)
176
.to_return(status: 200, body: {ok: true}.to_json, headers: {})
177
178
timer_reset_event = Game::TimerReset.new(data: {slot: 1, game_id: game_id})
179
- event_store.publish(timer_reset_event, stream_name: game_id)
+
180
+ notifier = Notifications::SlackNotifier.new(logger: Rails.logger, event_store: event_store)
181
+ notifier.call(timer_reset_event)
182
183
expect(stub).to have_been_requested
184
end
185
0 commit comments