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-rest-1.1.5 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-1.1.5 spec/unit/realtime/realtime_spec.rb
ably-rest-1.1.4 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-1.1.4 spec/unit/realtime/realtime_spec.rb
ably-rest-1.1.4.rc lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-1.1.4.rc spec/unit/realtime/realtime_spec.rb
ably-rest-1.1.3 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-1.1.3 spec/unit/realtime/realtime_spec.rb
ably-rest-1.1.2 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-1.1.2 spec/unit/realtime/realtime_spec.rb
ably-rest-1.1.2.rc1 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-1.1.1 spec/unit/realtime/realtime_spec.rb
ably-rest-1.1.0 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-1.1.0 spec/unit/realtime/realtime_spec.rb
ably-1.0.7 spec/unit/realtime/realtime_spec.rb
ably-rest-1.0.6 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-1.0.6 spec/unit/realtime/realtime_spec.rb
ably-rest-1.0.5 lib/submodules/ably-ruby/spec/unit/realtime/realtime_spec.rb
ably-1.0.5 spec/unit/realtime/realtime_spec.rb
ably-1.0.4 spec/unit/realtime/realtime_spec.rb