|
66 | 66 | G |
67 | 67 |
|
68 | 68 | bundle "install --deployment", :raise_on_error => false |
69 | | - expect(err).to include("deployment mode") |
| 69 | + expect(err).to include("frozen mode") |
70 | 70 | expect(err).to include("You have added to the Gemfile") |
71 | 71 | expect(err).to include("* rack-obama") |
72 | 72 | expect(err).not_to include("You have deleted from the Gemfile") |
|
272 | 272 |
|
273 | 273 | bundle "config set --local deployment true" |
274 | 274 | bundle :install, :raise_on_error => false |
275 | | - expect(err).to include("deployment mode") |
| 275 | + expect(err).to include("frozen mode") |
276 | 276 | expect(err).to include("You have added to the Gemfile") |
277 | 277 | expect(err).to include("* rack-obama") |
278 | 278 | expect(err).not_to include("You have deleted from the Gemfile") |
|
337 | 337 |
|
338 | 338 | ENV["BUNDLE_FROZEN"] = "1" |
339 | 339 | bundle "install", :raise_on_error => false |
340 | | - expect(err).to include("deployment mode") |
| 340 | + expect(err).to include("frozen mode") |
341 | 341 | expect(err).to include("You have added to the Gemfile") |
342 | 342 | expect(err).to include("* rack-obama") |
343 | 343 | expect(err).not_to include("You have deleted from the Gemfile") |
|
353 | 353 |
|
354 | 354 | ENV["BUNDLE_DEPLOYMENT"] = "true" |
355 | 355 | bundle "install", :raise_on_error => false |
356 | | - expect(err).to include("deployment mode") |
| 356 | + expect(err).to include("frozen mode") |
357 | 357 | expect(err).to include("You have added to the Gemfile") |
358 | 358 | expect(err).to include("* rack-obama") |
359 | 359 | expect(err).not_to include("You have deleted from the Gemfile") |
|
383 | 383 | ENV["BUNDLE_FROZEN"] = "false" |
384 | 384 | ENV["BUNDLE_DEPLOYMENT"] = "false" |
385 | 385 | bundle "install" |
386 | | - expect(out).not_to include("deployment mode") |
| 386 | + expect(out).not_to include("frozen mode") |
387 | 387 | expect(out).not_to include("You have added to the Gemfile") |
388 | 388 | expect(out).not_to include("* rack-obama") |
389 | 389 | end |
|
396 | 396 |
|
397 | 397 | bundle "config set --local deployment true" |
398 | 398 | bundle :install, :raise_on_error => false |
399 | | - expect(err).to include("deployment mode") |
| 399 | + expect(err).to include("frozen mode") |
400 | 400 | expect(err).to include("You have added to the Gemfile:\n* activesupport\n\n") |
401 | 401 | expect(err).to include("You have deleted from the Gemfile:\n* rack") |
402 | 402 | expect(err).not_to include("You have changed in the Gemfile") |
|
410 | 410 |
|
411 | 411 | bundle "config set --local deployment true" |
412 | 412 | bundle :install, :raise_on_error => false |
413 | | - expect(err).to include("deployment mode") |
| 413 | + expect(err).to include("frozen mode") |
414 | 414 | expect(err).not_to include("You have added to the Gemfile") |
415 | 415 | expect(err).to include("You have changed in the Gemfile:\n* rack from `no specified source` to `git://hubz.com`") |
416 | 416 | end |
|
430 | 430 |
|
431 | 431 | bundle "config set --local deployment true" |
432 | 432 | bundle :install, :raise_on_error => false |
433 | | - expect(err).to include("deployment mode") |
| 433 | + expect(err).to include("frozen mode") |
434 | 434 | expect(err).not_to include("You have deleted from the Gemfile") |
435 | 435 | expect(err).not_to include("You have added to the Gemfile") |
436 | 436 | expect(err).to include("You have changed in the Gemfile:\n* rack from `#{lib_path("rack-1.0")}` to `no specified source`") |
|
454 | 454 |
|
455 | 455 | bundle "config set --local deployment true" |
456 | 456 | bundle :install, :raise_on_error => false |
457 | | - expect(err).to include("deployment mode") |
| 457 | + expect(err).to include("frozen mode") |
458 | 458 | expect(err).to include("You have changed in the Gemfile:\n* rack from `#{lib_path("rack")}` to `no specified source`") |
459 | 459 | expect(err).not_to include("You have added to the Gemfile") |
460 | 460 | expect(err).not_to include("You have deleted from the Gemfile") |
|
506 | 506 | simulate_new_machine |
507 | 507 | bundle "config set --local deployment true" |
508 | 508 | bundle "install --verbose" |
509 | | - expect(out).not_to include("You are trying to install in deployment mode after changing your Gemfile") |
| 509 | + expect(out).not_to include("You are trying to install in frozen mode after changing your Gemfile") |
510 | 510 | expect(out).not_to include("You have added to the Gemfile") |
511 | 511 | expect(out).not_to include("You have deleted from the Gemfile") |
512 | 512 | expect(out).to include("vendor/cache/foo") |
|
0 commit comments