Sha256: b8ebddc2980d22cd0e14841b2f5bd89eb22bd96682de4d0c702b7b3c80a15bec

Contents?: true

Size: 667 Bytes

Versions: 10

Compression:

Stored size: 667 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe KPM::Installer do
  context 'when no config file is specified' do
    let(:all_kb_versions) { %w[0.15.0 0.15.1 0.15.10 0.15.11-SNAPSHOT 0.15.2 0.15.3 0.16.0 0.16.1 0.16.10 0.16.11 0.16.12-SNAPSHOT 0.16.2 0.16.3 0.17.0 0.17.1 0.17.2 0.17.2-SNAPSHOT 0.17.3-SNAPSHOT] }

    it 'finds the right stable versions' do
      config = KPM::Installer.build_default_config(all_kb_versions)
      expect(config['killbill']).not_to be_nil
      expect(config['killbill']['version']).to eq '0.16.11'

      expect(config['kaui']).not_to be_nil
      expect(config['kaui']['version']).to eq 'LATEST'
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
kpm-0.10.6 spec/kpm/unit/installer_spec.rb
kpm-0.11.1 spec/kpm/unit/installer_spec.rb
kpm-0.10.5 spec/kpm/unit/installer_spec.rb
kpm-0.11.0 spec/kpm/unit/installer_spec.rb
kpm-0.10.4 spec/kpm/unit/installer_spec.rb
kpm-0.10.3 spec/kpm/unit/installer_spec.rb
kpm-0.10.2 spec/kpm/unit/installer_spec.rb
kpm-0.10.1 spec/kpm/unit/installer_spec.rb
kpm-0.10.0 spec/kpm/unit/installer_spec.rb
kpm-0.9.0 spec/kpm/unit/installer_spec.rb