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-1.0.3 spec/unit/realtime/realtime_spec.rb
ably-1.0.2 spec/unit/realtime/realtime_spec.rb
ably-1.0.1 spec/unit/realtime/realtime_spec.rb
ably-rest-1.0.0 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-1.0.0 spec/unit/realtime/realtime_spec.rb
ably-rest-0.8.15 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-0.8.15 spec/unit/realtime/realtime_spec.rb
ably-rest-0.9.3 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-rest-0.9.2 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-rest-0.9.1 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-rest-0.9.0 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-rest-0.8.14 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-0.8.14 spec/unit/realtime/realtime_spec.rb
ably-rest-0.8.13 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-0.8.13 spec/unit/realtime/realtime_spec.rb
ably-0.8.12 spec/unit/realtime/realtime_spec.rb
ably-0.8.11 spec/unit/realtime/realtime_spec.rb
ably-0.8.10 spec/unit/realtime/realtime_spec.rb
ably-rest-0.8.9 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-0.8.9 spec/unit/realtime/realtime_spec.rb