instance method
assert_no_streams
Ruby on Rails 7.0.10
Since v6.0.6Signature
assert_no_streams()
Asserts that no streams have been started.
def test_assert_no_started_stream subscribe assert_no_streams end
Source
# File actioncable/lib/action_cable/channel/test_case.rb, line 284
def assert_no_streams
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
Defined in actioncable/lib/action_cable/channel/test_case.rb line 284
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Channel::TestCase::Behavior