aboutsummaryrefslogtreecommitdiffstats
path: root/spec/update
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-01-20 22:51:56 -0800
committerAndre Arko <andre@arko.net>2015-01-20 22:51:56 -0800
commit8774e0062e44a45819fde6e38465f0bb2f5de36c (patch)
tree3faacb40cab055fa96d2b77f9713e33a6b2f1b61 /spec/update
parentf41a4ed9963ac66fbbcb47ff8bbf6d838e355f1b (diff)
downloadbundler-8774e0062e44a45819fde6e38465f0bb2f5de36c.tar.gz
don’t test exitstatus when it is unknown
apparently on some Ruby 1.8.7 installs, open3 doesn’t return an exit status, and that includes all Travis installs of 1.8.7. :/ these tests all pass (while checking exit status) on my machine, but they shouldn’t fail if the Ruby on Travis isn’t able to provide exitstatuses.
Diffstat (limited to 'spec/update')
-rw-r--r--spec/update/git_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/update/git_spec.rb b/spec/update/git_spec.rb
index 0ef857a9..9f5e71b3 100644
--- a/spec/update/git_spec.rb
+++ b/spec/update/git_spec.rb
@@ -114,7 +114,7 @@ describe "bundle update" do
G
bundle "update"
- expect(exitstatus).to eq(0)
+ expect(exitstatus).to eq(0) if exitstatus
end
describe "with submodules" do