lib/turbo/broadcastable/test_helper.rb in turbo-rails-2.0.0.pre.beta.4 vs lib/turbo/broadcastable/test_helper.rb in turbo-rails-2.0.0.pre.rc.1
- old
+ new
@@ -62,10 +62,10 @@
if count.nil?
assert_not_empty payloads, "Expected at least one broadcast on #{stream_name.inspect}, but there were none"
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
# Asserts that no `<turbo-stream>` elements were broadcast over Action Cable
#