Module: ActionCable::Channel::ChannelExt
| Relationships & Source Files | |
| Defined in: | actioncable/lib/action_cable/channel/test_case.rb |
Overview
Action Cable Channel extensions for testing
Add public aliases for subscription_confirmation_sent? and
subscription_rejected? and #stream_names to access the list of subscribed streams.
Instance Attribute Summary
- #confirmed? ⇒ Boolean readonly
- #rejected? ⇒ Boolean readonly
Instance Method Summary
Instance Attribute Details
#confirmed? ⇒ Boolean (readonly)
[ GitHub ]
# File 'actioncable/lib/action_cable/channel/test_case.rb', line 25
def confirmed? = subscription_confirmation_sent?
#rejected? ⇒ Boolean (readonly)
[ GitHub ]
# File 'actioncable/lib/action_cable/channel/test_case.rb', line 27
def rejected? = subscription_rejected?
Instance Method Details
#stream_names
[ GitHub ]# File 'actioncable/lib/action_cable/channel/test_case.rb', line 29
def stream_names = streams.keys