instance method
assert_has_no_stream_for
Ruby on Rails 8.0.4
Since v7.2.3Signature
assert_has_no_stream_for(object)
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
Parameters
-
objectreq
Source
# File actioncable/lib/action_cable/channel/test_case.rb, line 337
def assert_has_no_stream_for(object)
assert_has_no_stream(broadcasting_for(object))
end
Defined in actioncable/lib/action_cable/channel/test_case.rb line 337
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Channel::TestCase::Behavior