 
 				expect(peer._connection.setRemoteDescription).toHaveBeenCalled()
 				callArgs = peer._connection.setRemoteDescription.mostRecentCall.args
-				expect(callArgs.length).toBe(1)
-				expect(callArgs[0]).toBe('a')
+				expect(callArgs).toEqual([
+						'a'
+					])
 
 			it 'should create an answer if we are not the connector', ->
 				peer = new Peer(fakeController, '1', true, FakeRTCPeerConnection)


				expect(peer._connection.createDataChannel).toHaveBeenCalled()
				callArgs = peer._connection.createDataChannel.mostRecentCall.args
				expect(callArgs.length).toBe(2)
				expect(callArgs[0]).toBe('a')
				expect(callArgs[1]).toBe(Peer.prototype._channelConfiguration)

			it 'should assign the created channel to itself', ->
				peer = new Peer(fakeController, '1', false, FakeRTCPeerConnection)

				expect(constructorSpy).toHaveBeenCalled()

				callArgs = FakeRTCPeerConnection.mostRecentCall.args
				expect(callArgs).toEqual([
						Peer.prototype._serverConfiguration
						Peer.prototype._connectionConfiguration
					])

				expect(peer._connection.onicecandidate).toEqual(peer._onIceCandidate)
				expect(peer._connection.oniceconnectionstatechange).toEqual(peer._onIceConnectionStateChange)
