summaryrefslogtreecommitdiff
path: root/spec/bundler/env_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-01-04 06:15:45 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2020-01-07 09:57:11 +0100
commitabaebf391641da830e681c974218389a334e2767 (patch)
treead79a77b46fdeacf9e4cda0ce42522ffe9cf1eb6 /spec/bundler/env_spec.rb
parent5ab7cc6f9c5a009528e7d8b3079e24622bbd776c (diff)
downloadbundler-abaebf391641da830e681c974218389a334e2767.tar.gz
Skip the rest of the failures on Windows
Diffstat (limited to 'spec/bundler/env_spec.rb')
-rw-r--r--spec/bundler/env_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/bundler/env_spec.rb b/spec/bundler/env_spec.rb
index 7686fe386a..5e588a6042 100644
--- a/spec/bundler/env_spec.rb
+++ b/spec/bundler/env_spec.rb
@@ -34,6 +34,8 @@ RSpec.describe Bundler::Env do
end
it "prints user home" do
+ skip "needs to use a valid HOME" if Gem.win_platform? && RUBY_VERSION < "2.6.0"
+
with_clear_paths("HOME", "/a/b/c") do
out = described_class.report
expect(out).to include("User Home /a/b/c")
@@ -41,6 +43,8 @@ RSpec.describe Bundler::Env do
end
it "prints user path" do
+ skip "needs to use a valid HOME" if Gem.win_platform? && RUBY_VERSION < "2.6.0"
+
with_clear_paths("HOME", "/a/b/c") do
out = described_class.report
expect(out).to include("User Path /a/b/c/.gem")