summaryrefslogtreecommitdiff
path: root/spec/lock
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-08-28 09:48:10 -0500
committerSamuel Giddins <segiddins@segiddins.me>2017-08-28 09:48:18 -0500
commit6101d6276bceb8bf0f687a3fdb5cbae3847e8598 (patch)
tree112988ed94722486eeb4d8520b74cf89b2a96363 /spec/lock
parent616394788ededa17409ec893d8befe9f683b54fb (diff)
downloadbundler-6101d6276bceb8bf0f687a3fdb5cbae3847e8598.tar.gz
Completely remove the package --all option on 2.0 and force its behaviorseg-bundler-2-defaults
Diffstat (limited to 'spec/lock')
-rw-r--r--spec/lock/lockfile_bundler_1_spec.rb4
-rw-r--r--spec/lock/lockfile_spec.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/lock/lockfile_bundler_1_spec.rb b/spec/lock/lockfile_bundler_1_spec.rb
index 1aab5e7750..3be45e29dc 100644
--- a/spec/lock/lockfile_bundler_1_spec.rb
+++ b/spec/lock/lockfile_bundler_1_spec.rb
@@ -612,8 +612,8 @@ RSpec.describe "the lockfile format", :bundler => "< 2" do
gem "foo", :path => "#{lib_path("foo-1.0")}"
G
- bundle! "package --all"
- bundle! "install --local"
+ bundle! :package, forgotten_command_line_options([:all, :cache_all] => true)
+ bundle! :install, :local => true
lockfile_should_be <<-G
PATH
diff --git a/spec/lock/lockfile_spec.rb b/spec/lock/lockfile_spec.rb
index bcf31d9f2c..b4bf81ded2 100644
--- a/spec/lock/lockfile_spec.rb
+++ b/spec/lock/lockfile_spec.rb
@@ -647,8 +647,8 @@ RSpec.describe "the lockfile format", :bundler => "2" do
gem "foo", :path => "#{lib_path("foo-1.0")}"
G
- bundle! "package --all"
- bundle! "install --local"
+ bundle! :package, forgotten_command_line_options([:all, :cache_all] => true)
+ bundle! :install, :local => true
lockfile_should_be <<-G
GEM