summaryrefslogtreecommitdiff
path: root/spec/install/deploy_spec.rb
diff options
context:
space:
mode:
authorTim Moore <tmoore@incrementalism.net>2014-08-24 13:43:01 +1000
committerTim Moore <tmoore@incrementalism.net>2014-08-24 13:43:01 +1000
commit1ce22ac8e0f3417f3ac89f799a1b80751ac7afe4 (patch)
tree3dc21055135f7d8f47ecc52ef2b6e1509aa4e8aa /spec/install/deploy_spec.rb
parent473770c143ac720f5b115d3e82d395b01f12cb93 (diff)
parentea143105677c4e38a2ce57bf6faa3cb8b782ef68 (diff)
downloadbundler-1ce22ac8e0f3417f3ac89f799a1b80751ac7afe4.tar.gz
Merge tag 'v1.7.1'
Version 1.7.1 Conflicts: CHANGELOG.md lib/bundler/dsl.rb lib/bundler/index.rb lib/bundler/lockfile_parser.rb lib/bundler/source/rubygems.rb man/gemfile.5.ronn
Diffstat (limited to 'spec/install/deploy_spec.rb')
-rw-r--r--spec/install/deploy_spec.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/install/deploy_spec.rb b/spec/install/deploy_spec.rb
index 4898779a21..9116a34777 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 when there are credentials in the source URL" do
+ install_gemfile(<<-G, :artifice => "endpoint_strict_basic_authentication", :quiet => true)
+ source "http://user:pass@localgemserver.test/"
+
+ gem "rack-obama", ">= 1.0"
+ 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"