Sha256: 969e692d7a75fdebe64d0796e0009af183de3ec991055c5b59d5136843e0ad41
Contents?: true
Size: 1.18 KB
Versions: 2
Compression:
Stored size: 1.18 KB
Contents
require 'spec_helper' describe KPM::KillbillServerArtifact do before(:all) do @logger = Logger.new(STDOUT) @logger.level = Logger::INFO end # Takes about 7 minutes... it 'should be able to download and verify artifacts' do Dir.mktmpdir do |dir| info = KPM::KillbillServerArtifact.pull(@logger, KPM::BaseArtifact::KILLBILL_GROUP_ID, KPM::BaseArtifact::KILLBILL_ARTIFACT_ID, KPM::BaseArtifact::KILLBILL_PACKAGING, KPM::BaseArtifact::KILLBILL_CLASSIFIER, 'LATEST', dir) info[:file_name].should == "killbill-profiles-killbill-#{info[:version]}-jar-with-dependencies.war" info[:size].should == File.size(info[:file_path]) end end it 'should be able to list versions' do versions = KPM::KillbillServerArtifact.versions(KPM::BaseArtifact::KILLBILL_ARTIFACT_ID).to_a versions.size.should >= 2 versions[0].should == '0.11.5' versions[1].should == '0.11.6' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kpm-0.0.7 | spec/kpm/remote/killbill_server_artifact_spec.rb |
kpm-0.0.6 | spec/kpm/remote/killbill_server_artifact_spec.rb |