method

assert_has_no_stream_for

rails latest stable - Class: ActionCable::Channel::TestCase::Behavior

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

assert_has_no_stream_for(object)
public

Asserts that the specified stream for a model has not started.

def test_assert_no_started_stream_for
  subscribe id: 41
  assert_has_no_stream_for User.find(42)
end