Sha256: dc5f8b6d04c55562684a558694032fc67d2ac5a5150d70968f7a75c823138e43

Contents?: true

Size: 1.31 KB

Versions: 61

Compression:

Stored size: 1.31 KB

Contents

# frozen_string_literal: true

require 'spec_helper'

describe 'RubyRabbitmqJanus::RRJ', type: :config, name: :describe do
  context 'Has a version number' do
    let(:data) { RubyRabbitmqJanus::VERSION }
    it_behaves_like 'constant is', String
  end

  context 'Has a name' do
    let(:data) { RubyRabbitmqJanus::GEM_NAME }
    it_behaves_like 'constant is', String
  end

  context 'Has a author' do
    let(:data) { RubyRabbitmqJanus::AUTHORS }
    it_behaves_like 'constant is', Array
  end

  context 'Has a email' do
    let(:data) { RubyRabbitmqJanus::EMAILS }
    it_behaves_like 'constant is', Array
  end

  context 'Has a license' do
    let(:data) { RubyRabbitmqJanus::LICENSE }
    it_behaves_like 'constant is', String
    it { expect('../../LICENSE').to be_an_existing_file }
  end

  context 'Has a description' do
    let(:data) { RubyRabbitmqJanus::DESCRIPTION }
    it_behaves_like 'constant is', String
  end

  context 'Has a summary description' do
    let(:data) { RubyRabbitmqJanus::SUMMARY }
    it_behaves_like 'constant is', String
  end

  context 'Has a homepage' do
    let(:data) { RubyRabbitmqJanus::HOMEPAGE }
    it_behaves_like 'constant is', String
  end

  context 'Has a post install message' do
    let(:data) { RubyRabbitmqJanus::POST_INSTALL }
    it_behaves_like 'constant is', String
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-1.2.3.pre.53 spec/rrj/rrj_spec.rb