Sha256: cec3522c0ae8e8f4ae265c01d218db215529e1c4acb08e4cf6ffd7cacd8334c0

Contents?: true

Size: 556 Bytes

Versions: 15

Compression:

Stored size: 556 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 :closed
  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

15 entries across 15 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-1.2.9 spec/rrj/rrj_rabbitmq_spec.rb
ruby_rabbitmq_janus-1.2.8 spec/rrj/rrj_rabbitmq_spec.rb
ruby_rabbitmq_janus-1.2.7 spec/rrj/rrj_rabbitmq_spec.rb
ruby_rabbitmq_janus-1.2.7.pre.alpha spec/rrj/rrj_rabbitmq_spec.rb
ruby_rabbitmq_janus-1.2.6 spec/rrj/rrj_rabbitmq_spec.rb
ruby_rabbitmq_janus-1.2.5 spec/rrj/rrj_rabbitmq_spec.rb
ruby_rabbitmq_janus-1.2.4 spec/rrj/rrj_rabbitmq_spec.rb
ruby_rabbitmq_janus-1.2.3.pre.53 spec/rrj/rrj_rabbitmq_spec.rb
ruby_rabbitmq_janus-1.2.3 spec/rrj/rrj_rabbitmq_spec.rb
ruby_rabbitmq_janus-1.2.2 spec/rrj/rrj_rabbitmq_spec.rb
ruby_rabbitmq_janus-1.2.1 spec/rrj/rrj_rabbitmq_spec.rb
ruby_rabbitmq_janus-1.2.0 spec/rrj/rrj_rabbitmq_spec.rb
ruby_rabbitmq_janus-1.1.12 spec/rrj/rrj_rabbitmq_spec.rb
ruby_rabbitmq_janus-1.1.11 spec/rrj/rrj_rabbitmq_spec.rb
ruby_rabbitmq_janus-1.1.10 spec/rrj/rrj_rabbitmq_spec.rb