instance method
unsubscribe
Ruby on Rails edge
Since edgeSignature
unsubscribe()
Unsubscribe the subscription under test.
Source
# File actioncable/lib/action_cable/channel/test_case.rb, line 241
def unsubscribe
check_subscribed!
subscription.unsubscribe_from_channel
end
Defined in actioncable/lib/action_cable/channel/test_case.rb line 241
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Channel::ChannelExt::TestCase::Behavior