diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-12-23 22:10:48 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-12-31 15:56:45 +0100 |
commit | 4b1c59ee641287e0932a856cb5cece121856376e (patch) | |
tree | 612f98f9e3cf16f46c567f69b7b352876c8c364e /spec/install | |
parent | c0b3f9e96d8bbb7633c77bfbf906d29edfc8a107 (diff) | |
download | bundler-4b1c59ee641287e0932a856cb5cece121856376e.tar.gz |
Add missing specs
Diffstat (limited to 'spec/install')
-rw-r--r-- | spec/install/deploy_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/install/deploy_spec.rb b/spec/install/deploy_spec.rb index b55eeeb28f..f31257fac3 100644 --- a/spec/install/deploy_spec.rb +++ b/spec/install/deploy_spec.rb @@ -180,6 +180,16 @@ RSpec.describe "install with --deployment or --frozen" do bundle! "install" end + it "installs gems by default to vendor/bundle", :bundler => "< 3" do + bundle! "install --deployment" + expect(out).to include("vendor/bundle") + end + + it "installs gems to custom path if specified", :bundler => "< 3" do + bundle! "install --path vendor/bundle2 --deployment" + expect(out).to include("vendor/bundle2") + end + it "works with the --deployment flag if you didn't change anything", :bundler => "< 3" do bundle! "install --deployment" end |