зеркало из https://github.com/github/ruby.git
Removed twisted tests
Why does only Process.daemon have these tests?
This commit is contained in:
Родитель
d45d448d71
Коммит
6ab95fb741
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче