diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-07-23 13:56:01 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-07-23 16:57:30 +0200 |
commit | ebcb25a3c3f631565456dd6da6e481243ec17b62 (patch) | |
tree | 11d5e7c912c905c86da923adf79f03119cc1e40d | |
parent | b5900e57a4f337319962f25bde368c49865ea662 (diff) | |
download | bundler-windows_fixes.tar.gz |
Skip specs using `Process.fork` on Windowswindows_fixes
-rw-r--r-- | spec/runtime/with_unbundled_env_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/runtime/with_unbundled_env_spec.rb b/spec/runtime/with_unbundled_env_spec.rb index b901f28c8b..d6f186e27e 100644 --- a/spec/runtime/with_unbundled_env_spec.rb +++ b/spec/runtime/with_unbundled_env_spec.rb @@ -214,6 +214,8 @@ RSpec.describe "Bundler.with_env helpers" do end it "runs exec inside with_original_env" do + skip "Fork not implemented" if Gem.win_platform? + lib = File.expand_path("../../lib", __dir__) system({ "BUNDLE_FOO" => "bar" }, "ruby -I#{lib} -rbundler -e '#{code}'") expect($?.exitstatus).to eq(0) @@ -234,6 +236,8 @@ RSpec.describe "Bundler.with_env helpers" do end it "runs exec inside with_clean_env" do + skip "Fork not implemented" if Gem.win_platform? + lib = File.expand_path("../../lib", __dir__) system({ "BUNDLE_FOO" => "bar" }, "ruby -I#{lib} -rbundler -e '#{code}'") expect($?.exitstatus).to eq(1) @@ -254,6 +258,8 @@ RSpec.describe "Bundler.with_env helpers" do end it "runs exec inside with_clean_env" do + skip "Fork not implemented" if Gem.win_platform? + lib = File.expand_path("../../lib", __dir__) system({ "BUNDLE_FOO" => "bar" }, "ruby -I#{lib} -rbundler -e '#{code}'") expect($?.exitstatus).to eq(1) |