Sha256: ebde6886bf160088900eadc1ce981663ba3083109ee111cae892c8ec005f0231

Contents?: true

Size: 651 Bytes

Versions: 3

Compression:

Stored size: 651 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)
      config['killbill'].should_not be_nil
      config['killbill']['version'].should eq '0.16.11'

      config['kaui'].should_not be_nil
      config['kaui']['version'].should eq 'LATEST'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kpm-0.8.2 spec/kpm/unit/installer_spec.rb
kpm-0.8.1 spec/kpm/unit/installer_spec.rb
kpm-0.8.0 spec/kpm/unit/installer_spec.rb