method
assert_has_stream_for
v7.2.3 -
Show latest stable
- Class:
ActionCable::Channel::TestCase::Behavior
assert_has_stream_for(object)public
Asserts that the specified stream for a model has started.
def test_assert_started_stream_for subscribe id: 42 assert_has_stream_for User.find(42) end