mirror of https://github.com/rails/rails
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.