summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-23 13:56:01 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-03 09:29:59 +0900
commit51aaed128a7949fffdc5847ee1949e4b2acc86ff (patch)
treedfb3aa777654a3fbfed62e3b7d9f70f3a1563a8b /spec
parentd7487d6c0845f89b0d640d1e22a4a10d1ffdb1a3 (diff)
[bundler/bundler] Skip specs using `Process.fork` on Windows
https://github.com/bundler/bundler/commit/ebcb25a3c3
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)