Sha256: 1dcfde2be6aca278aa377079b5114cec5d5891bde3187ddda7c74f41eb294606

Contents?: true

Size: 336 Bytes

Versions: 78

Compression:

Stored size: 336 Bytes

Contents

# encoding: utf-8
require 'spec_helper'
require 'shared/safe_deferrable_behaviour'
require 'ably/realtime'

[Ably::Models::ProtocolMessage, Ably::Models::Message, Ably::Models::PresenceMessage].each do |model_klass|
  describe model_klass do
    subject { model_klass.new(action: 1) }

    it_behaves_like 'a safe Deferrable'
  end
end

Version data entries

78 entries across 78 versions & 2 rubygems

Version Path
ably-rest-1.1.5 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.1.5 spec/unit/realtime/safe_deferrable_spec.rb
ably-rest-1.1.4 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.1.4 spec/unit/realtime/safe_deferrable_spec.rb
ably-rest-1.1.4.rc lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.1.4.rc spec/unit/realtime/safe_deferrable_spec.rb
ably-rest-1.1.3 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.1.3 spec/unit/realtime/safe_deferrable_spec.rb
ably-rest-1.1.2 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.1.2 spec/unit/realtime/safe_deferrable_spec.rb
ably-rest-1.1.2.rc1 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.1.1 spec/unit/realtime/safe_deferrable_spec.rb
ably-rest-1.1.0 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.1.0 spec/unit/realtime/safe_deferrable_spec.rb
ably-1.0.7 spec/unit/realtime/safe_deferrable_spec.rb
ably-rest-1.0.6 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.0.6 spec/unit/realtime/safe_deferrable_spec.rb
ably-rest-1.0.5 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.0.5 spec/unit/realtime/safe_deferrable_spec.rb
ably-1.0.4 spec/unit/realtime/safe_deferrable_spec.rb