lib/submodules/ably-ruby/spec/acceptance/realtime/client_spec.rb in ably-rest-0.9.3 vs lib/submodules/ably-ruby/spec/acceptance/realtime/client_spec.rb in ably-rest-1.0.0

- old
+ new

@@ -115,18 +115,18 @@ end context 'when the returned token has a client_id' do it "sets Auth#client_id to the new token's client_id immediately when connecting" do subject.auth.authorize do - expect(subject.connection).to be_connecting + expect(subject.connection).to be_connected expect(subject.auth.client_id).to eql(client_id) stop_reactor end end it "sets Client#client_id to the new token's client_id immediately when connecting" do subject.auth.authorize do - expect(subject.connection).to be_connecting + expect(subject.connection).to be_connected expect(subject.client_id).to eql(client_id) stop_reactor end end end