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-2.6.0.pre.247 spec/rrj/ruby_rabbitmq_janus_spec.rb
ruby_rabbitmq_janus-2.6.0.pre.246 spec/rrj/ruby_rabbitmq_janus_spec.rb
ruby_rabbitmq_janus-2.6.0.pre.244 spec/rrj/ruby_rabbitmq_janus_spec.rb
ruby_rabbitmq_janus-2.6.0.pre.240 spec/rrj/ruby_rabbitmq_janus_spec.rb
ruby_rabbitmq_janus-2.6.0.pre.239 spec/rrj/ruby_rabbitmq_janus_spec.rb
ruby_rabbitmq_janus-2.6.0.pre.238 spec/rrj/ruby_rabbitmq_janus_spec.rb
ruby_rabbitmq_janus-2.6.0.pre.233 spec/rrj/ruby_rabbitmq_janus_spec.rb
ruby_rabbitmq_janus-2.6.0.pre.229 spec/rrj/ruby_rabbitmq_janus_spec.rb
ruby_rabbitmq_janus-2.6.0.pre.228 spec/rrj/ruby_rabbitmq_janus_spec.rb
ruby_rabbitmq_janus-2.6.0.pre.227 spec/rrj/ruby_rabbitmq_janus_spec.rb
ruby_rabbitmq_janus-2.6.0.pre.226 spec/rrj/ruby_rabbitmq_janus_spec.rb