lib/action_cable/channel/test_case.rb in actioncable-6.1.2.1 vs lib/action_cable/channel/test_case.rb in actioncable-6.1.3
- old
+ new
@@ -13,13 +13,13 @@
"You'll need to specify it using `tests YourChannel` in your " +
"test case definition."
end
end
- # Stub `stream_from` to track streams for the channel.
- # Add public aliases for `subscription_confirmation_sent?` and
- # `subscription_rejected?`.
+ # Stub +stream_from+ to track streams for the channel.
+ # Add public aliases for +subscription_confirmation_sent?+ and
+ # +subscription_rejected?+.
module ChannelStub
def confirmed?
subscription_confirmation_sent?
end
@@ -121,10 +121,10 @@
# methods for use in the tests:
#
# <b>connection</b>::
# An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
# <b>subscription</b>::
- # An instance of the current channel, created when you call `subscribe`.
+ # An instance of the current channel, created when you call +subscribe+.
# <b>transmissions</b>::
# A list of all messages that have been transmitted into the channel.
#
#
# == Channel is automatically inferred