method

assert_has_stream_for

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