aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-08-23 12:30:16 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2018-08-23 12:30:16 +0300
commit0e42d3db59593b7641ed42efaddc69b315a36f7e (patch)
tree84b3444f76ab0a20dacbc91400e673a8cc4ec6f7 /actioncable/lib
parentdc001dbd58cde8b2caab42ab1bcdd88774818c53 (diff)
downloadrails-0e42d3db59593b7641ed42efaddc69b315a36f7e.tar.gz
rails-0e42d3db59593b7641ed42efaddc69b315a36f7e.tar.bz2
rails-0e42d3db59593b7641ed42efaddc69b315a36f7e.zip
Clarify api docs of ActionCable::SubscriptionAdapter::Test
Remove extra `:nodoc:` comment since private methods doesn't require that.
Diffstat (limited to 'actioncable/lib')
-rw-r--r--actioncable/lib/action_cable/subscription_adapter/test.rb2
-rw-r--r--actioncable/lib/action_cable/test_helper.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/actioncable/lib/action_cable/subscription_adapter/test.rb b/actioncable/lib/action_cable/subscription_adapter/test.rb
index 52226a7c71..ce604cc88e 100644
--- a/actioncable/lib/action_cable/subscription_adapter/test.rb
+++ b/actioncable/lib/action_cable/subscription_adapter/test.rb
@@ -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.
diff --git a/actioncable/lib/action_cable/test_helper.rb b/actioncable/lib/action_cable/test_helper.rb
index dbd5ec3b16..9092c8b80e 100644
--- a/actioncable/lib/action_cable/test_helper.rb
+++ b/actioncable/lib/action_cable/test_helper.rb
@@ -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