summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Zhao <cnallenzhao@gmail.com>2016-06-13 16:27:52 +0800
committerZehan Zhao <cnallenzhao@gmail.com>2016-08-15 20:36:59 +0800
commitcef9679ec174baa7a580393b397ba9f5c41138cb (patch)
tree92155b9b6d09b8a231e1bf56dd58397f30adc6ff
parent1873fa56790c582bbc744e558224b94d64184267 (diff)
downloadbundler-cef9679ec174baa7a580393b397ba9f5c41138cb.tar.gz
Add failing spec test
-rw-r--r--spec/install/gemfile/git_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/install/gemfile/git_spec.rb b/spec/install/gemfile/git_spec.rb
index bc9cc20870..f70ea5b43a 100644
--- a/spec/install/gemfile/git_spec.rb
+++ b/spec/install/gemfile/git_spec.rb
@@ -1136,6 +1136,7 @@ describe "bundle install with git sources" do
bundle :install
expect(out).to_not include("password1")
+ expect(err).to_not include("password1")
expect(out).to include("Fetching https://user1@github.com/company/private-repo")
end
end
@@ -1152,6 +1153,7 @@ describe "bundle install with git sources" do
bundle :install
expect(out).to_not include("oauth_token")
+ expect(err).to_not include("oauth_token")
expect(out).to include("Fetching https://x-oauth-basic@github.com/company/private-repo")
end
end