523f86964f
This is a follow-up to https://github.com/rails/rails/pull/50585. I propose to provide smoother reading experiences with the two methods introduced in there, `#assert_not_has_stream` and `#assert_not_has_stream_for`, by renaming them `#assert_has_no_stream` and `#assert_has_no_stream_for`, respectively.
597 B
597 B
-
Add two new assertion methods for ActionCable test cases:
assert_has_no_stream
andassert_has_no_stream_for
. These methods can be used to assert that a stream has been stopped, e.g. viastop_stream
orstop_stream_for
. They complement the already existingassert_has_stream
andassert_has_stream_for
methods.assert_has_no_stream "messages" assert_has_no_stream_for User.find(42)
Sebastian Pöll, Junichi Sato
Please check 7-1-stable for previous changes.