diff --git a/lib/turbo/broadcastable/test_helper.rb b/lib/turbo/broadcastable/test_helper.rb index c26d487d..f5e97017 100644 --- a/lib/turbo/broadcastable/test_helper.rb +++ b/lib/turbo/broadcastable/test_helper.rb @@ -64,7 +64,7 @@ def assert_turbo_stream_broadcasts(stream_name_or_object, count: nil, &block) else broadcasts = "Turbo Stream broadcast".pluralize(count) - assert count == payloads.count, "Expected #{count} #{broadcasts} on #{stream_name.inspect}, but there were none" + assert count == payloads.count, "Expected #{count} #{broadcasts} on #{stream_name.inspect}, but there were #{payloads.count}" end end