Skip to content

Commit

Permalink
Fix RSA7b3 (#403)
Browse files Browse the repository at this point in the history
* Fix RSA7b3

* Fix spacing
  • Loading branch information
ricardopereira authored and tcard committed Apr 27, 2016
1 parent b3c7628 commit d79c11d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Spec/Auth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,9 @@ class Auth : QuickSpec {

// RSA7b3
it("should CONNECTED ProtocolMessages contain a clientId") {
let options = AblyTests.commonAppSetup()
options.clientId = "john"
let options = AblyTests.clientOptions()
options.token = getTestToken(clientId: "john")
expect(options.clientId).to(beNil())
options.autoConnect = false
let realtime = AblyTests.newRealtime(options)
defer { realtime.close() }
Expand Down
2 changes: 1 addition & 1 deletion Spec/RealtimeClientPresence.swift
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ class RealtimeClientPresence: QuickSpec {
defer { client.close() }
let channel = client.channels.get("test")

channel.attach()
channel.attach()
channel.detach()

waitUntil(timeout: testTimeout) { done in
Expand Down

0 comments on commit d79c11d

Please sign in to comment.