Flowdock
method

assert_has_stream_for

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: 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
Show source
Register or log in to add new notes.