Sha256: 5a40f2684f34245b9fc73211bd06ca24e56d77dc76b17fa8e031b250530f47be

Contents?: true

Size: 1.35 KB

Versions: 51

Compression:

Stored size: 1.35 KB

Contents

# frozen_string_literal: true

require 'spec_helper'

describe RubyRabbitmqJanus, type: :config, name: :describe do
  context 'with a version number' do
    let(:data) { RubyRabbitmqJanus::VERSION }

    it_behaves_like 'constant is', String
  end

  context 'with a name' do
    let(:data) { RubyRabbitmqJanus::GEM_NAME }

    it_behaves_like 'constant is', String
  end

  context 'with a author' do
    let(:data) { RubyRabbitmqJanus::AUTHORS }

    it_behaves_like 'constant is', Array
  end

  context 'with a email' do
    let(:data) { RubyRabbitmqJanus::EMAILS }

    it_behaves_like 'constant is', Array
  end

  context 'with a license' do
    let(:data) { RubyRabbitmqJanus::LICENSE }
    let(:licence) { '../../LICENSE' }

    it_behaves_like 'constant is', String
    it { expect(licence).to be_an_existing_file }
  end

  context 'with a description' do
    let(:data) { RubyRabbitmqJanus::DESCRIPTION }

    it_behaves_like 'constant is', String
  end

  context 'with a summary description' do
    let(:data) { RubyRabbitmqJanus::SUMMARY }

    it_behaves_like 'constant is', String
  end

  context 'with a homepage' do
    let(:data) { RubyRabbitmqJanus::HOMEPAGE }

    it_behaves_like 'constant is', String
  end

  context 'with a post install message' do
    let(:data) { RubyRabbitmqJanus::POST_INSTALL }

    it_behaves_like 'constant is', String
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

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