Skip to content

Commit 7714fed

Browse files
committed
Fix typos in test names
1 parent 254e6b7 commit 7714fed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/AuthenticationTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class AuthenticationTests: XCTestCase {
3636
pusher.connection.socket = socket
3737
}
3838

39-
func testSubscringToAPrivateChannelShouldMakeARequestToTheAuthEndpoint() {
39+
func testSubscribingToAPrivateChannelShouldMakeARequestToTheAuthEndpoint() {
4040
let ex = expectation(description: "the channel should be subscribed to successfully")
4141
let channelName = "private-test-channel"
4242

@@ -59,7 +59,7 @@ class AuthenticationTests: XCTestCase {
5959
waitForExpectations(timeout: 0.5)
6060
}
6161

62-
func testSubscringToAPrivateChannelShouldCreateAuthSignatureInternally() {
62+
func testSubscribingToAPrivateChannelShouldCreateAuthSignatureInternally() {
6363
let options = PusherClientOptions(
6464
authMethod: .inline(secret: "secret")
6565
)
@@ -73,7 +73,7 @@ class AuthenticationTests: XCTestCase {
7373
XCTAssertTrue(chan.subscribed, "the channel should be subscribed")
7474
}
7575

76-
func testSubscringToAPrivateChannelShouldFailIfNoAuthMethodIsProvided() {
76+
func testSubscribingToAPrivateChannelShouldFailIfNoAuthMethodIsProvided() {
7777
pusher = Pusher(key: "key")
7878
socket.delegate = pusher.connection
7979
pusher.connection.socket = socket

0 commit comments

Comments
 (0)