diff options
author | Yuji Yaginuma <yuuji.yaginuma@gmail.com> | 2018-10-02 10:50:04 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 10:50:04 +0900 |
commit | 8171a1b9db029f4c6d45e2df3037d53a4864acb1 (patch) | |
tree | 20557860ffb7233125940090a049a4b4f50df6c9 /actioncable | |
parent | cab17ffe4ed5c37acdba046d0da0b0e137262f17 (diff) | |
parent | badb910b548592e4496d1eb132c2f16fb93765f5 (diff) | |
download | rails-8171a1b9db029f4c6d45e2df3037d53a4864acb1.tar.gz rails-8171a1b9db029f4c6d45e2df3037d53a4864acb1.tar.bz2 rails-8171a1b9db029f4c6d45e2df3037d53a4864acb1.zip |
Merge pull request #34046 from rtlechow/fix-typos
Fix typos
Diffstat (limited to 'actioncable')
-rw-r--r-- | actioncable/lib/action_cable/channel/test_case.rb | 4 | ||||
-rw-r--r-- | actioncable/test/channel/stream_test.rb | 2 |
2 files changed, 3 insertions, 3 deletions
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) diff --git a/actioncable/test/channel/stream_test.rb b/actioncable/test/channel/stream_test.rb index f2fe8b4ce7..9ad2213d47 100644 --- a/actioncable/test/channel/stream_test.rb +++ b/actioncable/test/channel/stream_test.rb @@ -193,7 +193,7 @@ module ActionCable::StreamTests end end - test "subscription confirmation should only be sent out once with muptiple stream_from" do + test "subscription confirmation should only be sent out once with multiple stream_from" do run_in_eventmachine do connection = open_connection expected = { "identifier" => { "channel" => MultiChatChannel.name }.to_json, "type" => "confirm_subscription" } |