Sha256: 329d68121faf0ac945f1a14bb6d6f4c81b23e250769ba0e9bd5b23a14dbafc83
Contents?: true
Size: 583 Bytes
Versions: 23
Compression:
Stored size: 583 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe RubyRabbitmqJanus::Janus::Concurrencies::KeepaliveTimer, type: :thread, name: :keepalive_timer do let(:concurrency) { described_class.new } it { expect(concurrency.send(:time_to_live)).to be_a(Integer) } it { expect(concurrency.send(:time_to_die)).to be_a(Integer) } it { expect(concurrency.instance_variable_get(:@timers)).to be_a(Timers::Group) } it { expect(concurrency.instance_variable_get(:@time_to_live)).to eql(RubyRabbitmqJanus::Tools::Config.instance.options['janus']['session']['keepalive']) } end
Version data entries
23 entries across 23 versions & 1 rubygems