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 4b80b84 commit 753e6cdCopy full SHA for 753e6cd
notifications/spec/spec_helper.rb
@@ -19,6 +19,10 @@ def event_store
19
->(event) { Notifications::SlackNotifier.new(logger: Rails.logger, event_store: client).call(event) },
20
to: [Game::NewTurnStarted, Game::PlayerDisconnected, Game::TimerReset]
21
)
22
+ client.subscribe(
23
+ ->(event) { ReadModel::GameReadModelUpdater.new(logger: Rails.logger).call(event) },
24
+ to: [Game::PlayerRegistered]
25
+ )
26
end
27
28
0 commit comments