Sha256: 1c1e442e14c92affc9f8bb30437ab46f0bd9d54584b3d9a5ca4e37f80f96b856

Contents?: true

Size: 554 Bytes

Versions: 4

Compression:

Stored size: 554 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe 'RubyRabbitmqJanus::RabitMQ', type: :config, name: :rabbit do
  it 'Start connection with RabbitMQ server' do
    expect(RubyRabbitmqJanus::Rabbit::Connect.new.start.class).to \
      eq Bunny::Session
  end

  it 'Close connection with RabbitMQ Server' do
    expect(RubyRabbitmqJanus::Rabbit::Connect.new.close).to eq(true)
  end

  it 'Propertie to message sending in rabbit' do
    expect(RubyRabbitmqJanus::Rabbit::Propertie.new.options).to \
      match_json_schema(:rabbit)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-2.0.0.pre.97 spec/rrj/rrj_rabbitmq_spec.rb
ruby_rabbitmq_janus-2.0.0.pre.96 spec/rrj/rrj_rabbitmq_spec.rb
ruby_rabbitmq_janus-2.0.0.pre.95 spec/rrj/rrj_rabbitmq_spec.rb
ruby_rabbitmq_janus-2.0.0.pre.42 spec/rrj/rrj_rabbitmq_spec.rb