Skip the spec on Windows because RUBY_EXE is RUNRUBY and it calls ruby as grandchild
This commit is contained in:
parent
320f0aba49
commit
eb45ba6116
@ -1,7 +1,9 @@
|
|||||||
require_relative '../../spec_helper'
|
require_relative '../../spec_helper'
|
||||||
|
|
||||||
describe "Process.ppid" do
|
describe "Process.ppid" do
|
||||||
it "returns the process id of the parent of this process" do
|
platform_is_not :windows do
|
||||||
ruby_exe("puts Process.ppid").should == "#{Process.pid}\n"
|
it "returns the process id of the parent of this process" do
|
||||||
|
ruby_exe("puts Process.ppid").should == "#{Process.pid}\n"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user