minitest/minitest-rails

ActionCable Assertions

Closed this issue · 0 comments

The following ActionCable assertions need documentation and associated expectations for the spec DSL:

  • ActionCable::Channel::TestCase::Behavior|assert_has_stream(stream)
  • ActionCable::Channel::TestCase::Behavior|assert_has_stream_for(object)
  • ActionCable::Channel::TestCase::Behavior|assert_no_streams()
  • ActionCable::Connection::Assertions|assert_reject_connection(&block)
  • ActionCable::TestHelper|assert_broadcasts(stream, number)
  • ActionCable::TestHelper|assert_broadcast_on(stream, data)
  • ActionCable::TestHelper|assert_no_broadcasts(stream, &block)