@@ -217,31 +217,31 @@ def gemrc_cooldown(days)
217217 it "applies it when bundler configures none of its own" do
218218 gemrc_cooldown 7
219219
220- bundle "install" , artifice : "compact_index_cooldown "
220+ bundle "install" , artifice : "compact_index_v2 "
221221
222222 expect ( the_bundle ) . to include_gems ( "ripe_gem 1.0.0" )
223223 end
224224
225225 it "takes the longer of the two settings" do
226226 gemrc_cooldown 7
227227
228- bundle "install" , env : { "BUNDLE_COOLDOWN" => "1" } , artifice : "compact_index_cooldown "
228+ bundle "install" , env : { "BUNDLE_COOLDOWN" => "1" } , artifice : "compact_index_v2 "
229229
230230 expect ( the_bundle ) . to include_gems ( "ripe_gem 1.0.0" )
231231 end
232232
233233 it "counts a bundler-side 0 as a value rather than as unset" do
234234 gemrc_cooldown 7
235235
236- bundle "install" , env : { "BUNDLE_COOLDOWN" => "0" } , artifice : "compact_index_cooldown "
236+ bundle "install" , env : { "BUNDLE_COOLDOWN" => "0" } , artifice : "compact_index_v2 "
237237
238238 expect ( the_bundle ) . to include_gems ( "ripe_gem 1.0.0" )
239239 end
240240
241241 it "counts a gemrc 0 as a value rather than as unset" do
242242 gemrc_cooldown 0
243243
244- bundle "install" , env : { "BUNDLE_COOLDOWN" => "7" } , artifice : "compact_index_cooldown "
244+ bundle "install" , env : { "BUNDLE_COOLDOWN" => "7" } , artifice : "compact_index_v2 "
245245
246246 expect ( the_bundle ) . to include_gems ( "ripe_gem 1.0.0" )
247247 end
@@ -254,23 +254,23 @@ def gemrc_cooldown(days)
254254 gem "ripe_gem"
255255 G
256256
257- bundle "install" , artifice : "compact_index_cooldown "
257+ bundle "install" , artifice : "compact_index_v2 "
258258
259259 expect ( the_bundle ) . to include_gems ( "ripe_gem 1.0.0" )
260260 end
261261
262262 it "lets --cooldown 0 bypass it" do
263263 gemrc_cooldown 7
264264
265- bundle "install --cooldown 0" , artifice : "compact_index_cooldown "
265+ bundle "install --cooldown 0" , artifice : "compact_index_v2 "
266266
267267 expect ( the_bundle ) . to include_gems ( "ripe_gem 2.0.0" )
268268 end
269269
270270 it "warns and ignores it when it is not a number" do
271271 gemrc_cooldown "seven"
272272
273- bundle "install" , artifice : "compact_index_cooldown "
273+ bundle "install" , artifice : "compact_index_v2 "
274274
275275 expect ( err ) . to include ( 'Invalid cooldown value "seven" in the gemrc file, so it is ignored.' )
276276 expect ( the_bundle ) . to include_gems ( "ripe_gem 2.0.0" )
0 commit comments