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 176cdd7 commit 0f42c10Copy full SHA for 0f42c10
notifications/spec/notifications/slack_notifier_spec.rb
@@ -181,8 +181,10 @@ def given(*domain_events)
181
Game::PlayerRegistered.new(data: {slot_id: 2, player_id: player_2}),
182
Game::PlayerRegistered.new(data: {slot_id: 3, player_id: player_3}),
183
Game::NewTurnStarted.new(data: {turn: 1}),
184
- Game::TimerReset.new(data: {slot: 1, game_id: game_id}),
185
)
+
186
+ timer_reset_event = Game::TimerReset.new(data: {slot: 1, game_id: game_id})
187
+ event_store.publish(timer_reset_event, stream_name: game_id)
188
expect(stub).to have_been_requested
189
end
190
0 commit comments