summaryrefslogtreecommitdiff
path: root/spec/update
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-08-01 20:35:31 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-08-03 09:24:00 -0500
commit29fb4282ea198b2c62d2a580d8ab1ba1fb54de3b (patch)
treebdaaf5c6584afcfbb5416973d755c35d88f967d6 /spec/update
parentdafad010679f89aa1b66ee1770f9f4ac4c72e386 (diff)
downloadbundler-29fb4282ea198b2c62d2a580d8ab1ba1fb54de3b.tar.gz
Remove expect_err from the specs & print all output on a spec failure
Diffstat (limited to 'spec/update')
-rw-r--r--spec/update/git_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/update/git_spec.rb b/spec/update/git_spec.rb
index 882af27fc3..b67ddda202 100644
--- a/spec/update/git_spec.rb
+++ b/spec/update/git_spec.rb
@@ -132,7 +132,7 @@ describe "bundle update" do
end
Dir.chdir(lib_path("has_submodule-1.0")) do
- sys_exec "git submodule add #{lib_path("submodule-1.0")} submodule-1.0", :expect_err => true
+ sys_exec "git submodule add #{lib_path("submodule-1.0")} submodule-1.0"
`git commit -m "submodulator"`
end
end
@@ -147,7 +147,7 @@ describe "bundle update" do
run "require 'submodule'"
expect(out).to eq("GEM")
- install_gemfile <<-G, :expect_err => true
+ install_gemfile <<-G
git "#{lib_path("has_submodule-1.0")}", :submodules => true do
gem "has_submodule"
end
@@ -158,7 +158,7 @@ describe "bundle update" do
end
it "unlocks the source when submodules are removed from git source", :git => ">= 2.9.0" do
- install_gemfile <<-G, :expect_err => true
+ install_gemfile <<-G
git "#{lib_path("has_submodule-1.0")}", :submodules => true do
gem "has_submodule"
end
@@ -187,7 +187,7 @@ describe "bundle update" do
lib_path("foo-1.0").join(".git").rmtree
- bundle :update, :expect_err => true
+ bundle :update
expect(out).to include(lib_path("foo-1.0").to_s)
end