Skip to content

Commit 7004538

Browse files
committed
More debugging.
1 parent 76815bb commit 7004538

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

notifications/spec/notifications/slack_notifier_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,9 @@ def given(*domain_events)
189189
puts "=== EVENT STORE DEBUG ==="
190190
puts "Event store class: #{event_store.class}"
191191
puts "Event store repository: #{event_store.instance_variable_get(:@repository).class}"
192-
puts "Event store has subscribers: #{event_store.respond_to?(:subscribers) ? event_store.subscribers.any? : 'unknown'}"
192+
puts "Event store same as Rails: #{event_store.object_id == Rails.configuration.event_store.object_id}"
193+
puts "InMemoryEventStore included: #{self.class.included_modules.include?(InMemoryEventStore)}"
194+
puts "Method source: #{method(:event_store).source_location}"
193195
puts "=========================="
194196

195197
event_store.publish(timer_reset_event, stream_name: game_id)

0 commit comments

Comments
 (0)