1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Removed twisted tests

Why does only Process.daemon have these tests?
This commit is contained in:
Nobuyoshi Nakada 2019-07-16 22:00:54 +09:00
parent d45d448d71
commit 6ab95fb741
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -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