1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Clarify api docs of ActionCable::SubscriptionAdapter::Test

Remove extra `:nodoc:` comment since private methods doesn't require that.
This commit is contained in:
bogdanvlviv 2018-08-23 12:30:16 +03:00
parent dc001dbd58
commit 0e42d3db59
No known key found for this signature in database
GPG key ID: E4ACD76A6DB6DFDD
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ module ActionCable
# The test adapter should be used only in testing. Along with
# <tt>ActionCable::TestHelper</tt> it makes a great tool to test your Rails application.
#
# To use the test adapter set adapter value to +test+ in your +cable.yml+.
# To use the test adapter set +adapter+ value to +test+ in your +config/cable.yml+ file.
#
# NOTE: Test adapter extends the <tt>ActionCable::SubscriptionsAdapter::Async</tt> adapter,
# so it could be used in system tests too.

View file

@ -125,7 +125,7 @@ module ActionCable
delegate :broadcasts, :clear_messages, to: :pubsub_adapter
private
def broadcasts_size(channel) # :nodoc:
def broadcasts_size(channel)
broadcasts(channel).size
end
end