summaryrefslogtreecommitdiff
path: root/spec/commands/update_spec.rb
diff options
context:
space:
mode:
authorAnkit Kataria <ankitkataria28@gmail.com>2019-01-27 18:11:36 +0530
committerAnkit Kataria <ankitkataria28@gmail.com>2019-01-27 18:11:36 +0530
commit2beb67368cf9ef93cba3d1778f6fd1b6987d9087 (patch)
tree0bad363c83f7c9e21aa629cdee836bfed715d8d5 /spec/commands/update_spec.rb
parent1764cfb555c7dd379298f31e3d3ab603a841ec96 (diff)
downloadbundler-2beb67368cf9ef93cba3d1778f6fd1b6987d9087.tar.gz
change prefer to patch_prefer and updated help text
Diffstat (limited to 'spec/commands/update_spec.rb')
-rw-r--r--spec/commands/update_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/update_spec.rb b/spec/commands/update_spec.rb
index d0552a9507..d2cdd5a68b 100644
--- a/spec/commands/update_spec.rb
+++ b/spec/commands/update_spec.rb
@@ -811,8 +811,8 @@ RSpec.describe "bundle update conservative" do
context "with patch set as default update level in config" do
it "should do a patch level update" do
- bundle! "config --local patch true"
- bundle! "update --patch foo"
+ bundle! "config --local prefer_patch true"
+ bundle! "update foo"
expect(the_bundle).to include_gems "foo 1.4.5", "bar 2.1.1", "qux 1.0.0"
end