spec/kpm/remote/base_artifact_spec.rb in kpm-0.0.13 vs spec/kpm/remote/base_artifact_spec.rb in kpm-0.0.14
- old
+ new
@@ -68,10 +68,11 @@
end
def test_download(dir, filename=nil, verify_is_skipped=false, force_download=false)
path = filename.nil? ? dir : dir + '/' + filename
- info = KPM::BaseArtifact.pull(@logger, 'org.kill-bill.billing', 'killbill-oss-parent', 'pom', nil, 'LATEST', path, nil, force_download, {}, true)
+
+ info = KPM::BaseArtifact.pull(@logger, 'org.kill-bill.billing', 'killbill-oss-parent', 'pom', nil, 'LATEST', path, nil, force_download, true, {}, true)
info[:file_name].should == (filename.nil? ? "killbill-oss-parent-#{info[:version]}.pom" : filename)
info[:skipped].should == verify_is_skipped
if !info[:skipped]
info[:size].should == File.size(info[:file_path])
end