summaryrefslogtreecommitdiff
path: root/spec/ruby/core
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-16 22:00:54 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-16 22:03:25 +0900
commit6ab95fb741168895f9aebe8d6c45e5242cc81f2b (patch)
tree4a65dc1e8216c3f8947a25bc481f1683891978af /spec/ruby/core
parentd45d448d71bfe9db4a71e06289e7b4d640bbd55c (diff)
Removed twisted tests
Why does only Process.daemon have these tests?
Diffstat (limited to 'spec/ruby/core')
-rw-r--r--spec/ruby/core/process/daemon_spec.rb8
1 files changed, 0 insertions, 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