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.2.7 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.2.7 spec/unit/realtime/safe_deferrable_spec.rb
ably-rest-1.2.6 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.2.6 spec/unit/realtime/safe_deferrable_spec.rb
ably-rest-1.2.4 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.2.4 spec/unit/realtime/safe_deferrable_spec.rb
ably-rest-1.2.3 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.2.3 spec/unit/realtime/safe_deferrable_spec.rb
ably-rest-1.2.2 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.2.2 spec/unit/realtime/safe_deferrable_spec.rb
ably-rest-1.2.1 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.2.1 spec/unit/realtime/safe_deferrable_spec.rb
ably-rest-1.2.0 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.2.0 spec/unit/realtime/safe_deferrable_spec.rb
ably-rest-1.1.8 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.1.8 spec/unit/realtime/safe_deferrable_spec.rb
ably-rest-1.1.7 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.1.7 spec/unit/realtime/safe_deferrable_spec.rb
ably-rest-1.1.6 lib/submodules/ably-ruby/spec/unit/realtime/safe_deferrable_spec.rb
ably-1.1.6 spec/unit/realtime/safe_deferrable_spec.rb