Sha256: 0af6617f12be69fae2a2a053869abe1728601564fc9b686fdad8c8c44889a40b

Contents?: true

Size: 552 Bytes

Versions: 51

Compression:

Stored size: 552 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe RubyRabbitmqJanus::Rabbit::Connect, type: :rabbit,
                                             name: :connect do
  let(:connect) { described_class.new }

  describe '#start' do
    it { expect(connect.start.class).to eq(Bunny::Session) }
  end

  describe '#close' do
    it { expect(connect.close.class).to eq(TrueClass) }
    it { expect(connect.close).to eq(true) }
  end

  describe '#channel', broken: true do
    it { expect(connect.channel.class).to eq(Bunny::Channel) }
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-3.0.0.pre.336 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.335 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.334 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.330 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.328 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.327 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-2.7.2 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.322 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.320 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.319 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.318 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.317 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.316 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.315 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.314 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.312 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.310 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.309 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.308 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.307 spec/ruby_rabbitmq_janus/rabbit/connect_spec.rb