From 6ab95fb741168895f9aebe8d6c45e5242cc81f2b Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 16 Jul 2019 22:00:54 +0900 Subject: [PATCH] Removed twisted tests Why does only Process.daemon have these tests? --- spec/ruby/core/process/daemon_spec.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/spec/ruby/core/process/daemon_spec.rb b/spec/ruby/core/process/daemon_spec.rb index 9567382d3d..b472a3b9e9 100644 --- a/spec/ruby/core/process/daemon_spec.rb +++ b/spec/ruby/core/process/daemon_spec.rb @@ -86,10 +86,6 @@ platform_is_not :windows do @daemon.invoke("stay_in_dir", [true]).should == @invoke_dir end - it "does not change to the root directory if the first argument is non-false" do - @daemon.invoke("stay_in_dir", [:yes]).should == @invoke_dir - end - describe "when the second argument is not given" do it_behaves_like :process_daemon_keep_stdio_open_false, nil, [false] end @@ -105,10 +101,6 @@ platform_is_not :windows do describe "when the second argument is true" do it_behaves_like :process_daemon_keep_stdio_open_true, nil, [false, true] end - - describe "when the second argument is non-false" do - it_behaves_like :process_daemon_keep_stdio_open_true, nil, [false, :yes] - end end end