diff options
Diffstat (limited to 'spec/lock')
-rw-r--r-- | spec/lock/lockfile_bundler_1_spec.rb | 4 | ||||
-rw-r--r-- | spec/lock/lockfile_spec.rb | 4 |
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 |