summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/runtime/with_unbundled_env_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/bundler/runtime/with_unbundled_env_spec.rb b/spec/bundler/runtime/with_unbundled_env_spec.rb
index d5eed096c2..30e8518043 100644
--- a/spec/bundler/runtime/with_unbundled_env_spec.rb
+++ b/spec/bundler/runtime/with_unbundled_env_spec.rb
@@ -218,6 +218,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)
@@ -238,6 +240,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)
@@ -258,6 +262,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)