Sha256: a0ab5bf12c5e05fe840ad14700d30665e3473cc399c845c0b1a24b0d920de3dd

Contents?: true

Size: 357 Bytes

Versions: 64

Compression:

Stored size: 357 Bytes

Contents

require 'spec_helper'

describe Ably::Realtime do
  let(:options) { { key: 'app.key:secret', auto_connect: false } }

  specify 'constructor returns an Ably::Realtime::Client' do
    expect(Ably::Realtime.new(options)).to be_instance_of(Ably::Realtime::Client)
  end

  after(:all) do
    sleep 1 # let realtime library shut down any open clients
  end
end

Version data entries

64 entries across 64 versions & 2 rubygems

Version Path
ably-0.8.8 spec/unit/realtime/realtime_spec.rb
ably-0.8.7 spec/unit/realtime/realtime_spec.rb
ably-0.8.6 spec/unit/realtime/realtime_spec.rb
ably-rest-0.8.6 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb