Skip to content

Commit 752fb78

Browse files
committed
move child process test
1 parent b86b313 commit 752fb78

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

rb/spec/unit/selenium/webdriver/common/child_process_spec.rb renamed to rb/spec/integration/selenium/webdriver/child_process_spec.rb

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@
1717
# specific language governing permissions and limitations
1818
# under the License.
1919

20-
require File.expand_path('../spec_helper', __dir__)
20+
require_relative 'spec_helper'
2121

2222
module Selenium
2323
module WebDriver
24-
describe ChildProcess do
25-
it 'does not raise an error when terminating a non-existent process',
26-
except: [{platform: :windows, reason: 'This is only for Unix platforms'}] do
24+
describe ChildProcess, except: [{platform: :windows, reason: 'This is only for Unix platforms'}] do
25+
it 'does not raise an error when terminating a non-existent process' do
2726
process = described_class.new('sleep', '5')
2827
process.start
2928

@@ -36,8 +35,7 @@ module WebDriver
3635
}.not_to raise_error
3736
end
3837

39-
it 'does not raise an error when killing a non-existent process',
40-
except: [{platform: :windows, reason: 'This is only for Unix platforms'}] do
38+
it 'does not raise an error when killing a non-existent process' do
4139
process = described_class.new('sleep', '5')
4240
process.start
4341

0 commit comments

Comments
 (0)