diff options
author | Ryan Souza <rydsouza@gmail.com> | 2014-09-02 16:57:16 -0700 |
---|---|---|
committer | Tim Moore <tmoore@incrementalism.net> | 2014-09-29 22:31:12 +1000 |
commit | 69bdd1ecce87dd5265076e9fc156539ad42ab6c5 (patch) | |
tree | 80743e16628819d995ad65f2da1fe5802cf8263b | |
parent | f904cf7c7b365900fd0542ea7c2c1544ac2698b9 (diff) | |
download | bundler-69bdd1ecce87dd5265076e9fc156539ad42ab6c5.tar.gz |
Spec for deployment install w/ source blocks
-rw-r--r-- | spec/install/deploy_spec.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/install/deploy_spec.rb b/spec/install/deploy_spec.rb index c3ba3215..587d3657 100644 --- a/spec/install/deploy_spec.rb +++ b/spec/install/deploy_spec.rb @@ -79,6 +79,18 @@ describe "install with --deployment or --frozen" do expect(exitstatus).to eq(0) end + it "works with sources given by a block" do + install_gemfile(<<-G, :artifice => "endpoint_strict_basic_authentication", :quiet => true) + source "http://user:pass@localgemserver.test/" do + gem "rack-obama", ">= 1.0" + end + G + + bundle "install --deployment", :exitstatus => true, :artifice => "endpoint_strict_basic_authentication" + + expect(exitstatus).to eq(0) + end + describe "with an existing lockfile" do before do bundle "install" |