From badb910b548592e4496d1eb132c2f16fb93765f5 Mon Sep 17 00:00:00 2001 From: "R.T. Lechow" Date: Mon, 1 Oct 2018 19:54:42 -0400 Subject: Fix typos Fixes some typos. --- actioncable/lib/action_cable/channel/test_case.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actioncable/lib') diff --git a/actioncable/lib/action_cable/channel/test_case.rb b/actioncable/lib/action_cable/channel/test_case.rb index a26051d687..dd2762ccd0 100644 --- a/actioncable/lib/action_cable/channel/test_case.rb +++ b/actioncable/lib/action_cable/channel/test_case.rb @@ -131,7 +131,7 @@ module ActionCable # # == Specifying connection identifiers # - # You need to set up your connection manually to privide values for the identifiers. + # You need to set up your connection manually to provide values for the identifiers. # To do this just use: # # stub_connection(user: users[:john]) @@ -212,7 +212,7 @@ module ActionCable @connection = ConnectionStub.new(identifiers) end - # Subsribe to the channel under test. Optionally pass subscription parameters as a Hash. + # Subscribe to the channel under test. Optionally pass subscription parameters as a Hash. def subscribe(params = {}) @connection ||= stub_connection @subscription = self.class.channel_class.new(connection, CHANNEL_IDENTIFIER, params.with_indifferent_access) -- cgit v1.2.3