aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support/artifice/compact_index_concurrent_download.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/artifice/compact_index_concurrent_download.rb')
-rw-r--r--spec/support/artifice/compact_index_concurrent_download.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/artifice/compact_index_concurrent_download.rb b/spec/support/artifice/compact_index_concurrent_download.rb
index 30a2171a..b788a852 100644
--- a/spec/support/artifice/compact_index_concurrent_download.rb
+++ b/spec/support/artifice/compact_index_concurrent_download.rb
@@ -22,8 +22,8 @@ class CompactIndexConcurrentDownload < CompactIndexAPI
file = tmp("versions.list")
file.delete if file.file?
file = CompactIndex::VersionsFile.new(file.to_s)
- file.update_with(gems)
- CompactIndex.versions(file, nil, {})
+ file.create(gems)
+ file.contents
end
end
end