spec/kpm/unit/installer_spec.rb in kpm-0.7.2 vs spec/kpm/unit/installer_spec.rb in kpm-0.8.0
- old
+ new
@@ -1,17 +1,18 @@
+# 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) }
+ 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 == '0.16.11'
+ config['killbill']['version'].should eq '0.16.11'
config['kaui'].should_not be_nil
- config['kaui']['version'].should == 'LATEST'
+ config['kaui']['version'].should eq 'LATEST'
end
end
end