summaryrefslogtreecommitdiff
path: root/spec/update
diff options
context:
space:
mode:
authorJames Wen <jrw2175@columbia.edu>2015-12-30 00:23:43 -0500
committerJames Wen <jrw2175@columbia.edu>2015-12-30 00:23:43 -0500
commitabe0b233f77530ffb2455bb07aa45710742c82e0 (patch)
tree4b68357202778204dafb631413efd61c4e9c95dc /spec/update
parentdf5751f016de714f8cd6443c2a2b4198e583936f (diff)
downloadbundler-abe0b233f77530ffb2455bb07aa45710742c82e0.tar.gz
Clean up "Cloning into 'submodule-1.0'..." output messages from test suite
- Removes the following output messages from the test suite: ``` Cloning into 'submodule-1.0'... done. ```
Diffstat (limited to 'spec/update')
-rw-r--r--spec/update/git_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/update/git_spec.rb b/spec/update/git_spec.rb
index 9133f9473c..1c69918f25 100644
--- a/spec/update/git_spec.rb
+++ b/spec/update/git_spec.rb
@@ -131,7 +131,7 @@ describe "bundle update" do
end
Dir.chdir(lib_path("has_submodule-1.0")) do
- `git submodule add #{lib_path("submodule-1.0")} submodule-1.0`
+ sys_exec "git submodule add #{lib_path("submodule-1.0")} submodule-1.0", :expect_err => true
`git commit -m "submodulator"`
end
end
@@ -146,7 +146,7 @@ describe "bundle update" do
run "require 'submodule'"
expect(out).to eq("GEM")
- install_gemfile <<-G
+ install_gemfile <<-G, :expect_err => true
git "#{lib_path("has_submodule-1.0")}", :submodules => true do
gem "has_submodule"
end
@@ -158,7 +158,7 @@ describe "bundle update" do
it "it unlocks the source when submodules are removed from git source" do
pending "This would require actually removing the submodule from the clone"
- install_gemfile <<-G
+ install_gemfile <<-G, :expect_err => true
git "#{lib_path("has_submodule-1.0")}", :submodules => true do
gem "has_submodule"
end