Sha256: b9557b059d3cc4f794d959f1bc13e837fd9574e8a702abedbc59e164b3601168

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 Bytes

Contents

{module, test} = QUnit
{consumerTest} = ActionCable.TestHelpers

module "ActionCable.Consumer", ->
  consumerTest "#connect", connect: false, ({consumer, server, assert, done}) ->
    server.on "connection", ->
      assert.equal consumer.connect(), false
      done()

    consumer.connect()

  consumerTest "#disconnect", ({consumer, client, done}) ->
    client.addEventListener("close", done)
    consumer.disconnect()

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-on-quails-0.1.0 actioncable/test/javascript/src/unit/consumer_test.coffee