Skip to content

Commit 1b046b1

Browse files
committed
[rb] fix unit tests
1 parent a8e9c4d commit 1b046b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rb/spec/unit/selenium/webdriver/chrome/service_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ module Chrome
7373
service = described_class.new(log: '/path/to/log.txt')
7474

7575
expect(service.log).to be_nil
76-
expect(service.args).to eq ['--log-path', '/path/to/log.txt']
76+
expect(service.args).to eq ['--log-path=/path/to/log.txt']
7777
end
7878

7979
it 'uses provided args' do

rb/spec/unit/selenium/webdriver/edge/service_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module Edge
7272
service = described_class.chrome(log: '/path/to/log.txt')
7373

7474
expect(service.log).to be_nil
75-
expect(service.args).to eq ['--log-path', '/path/to/log.txt']
75+
expect(service.args).to eq ['--log-path=/path/to/log.txt']
7676
end
7777

7878
it 'uses provided args' do
@@ -130,7 +130,7 @@ module Edge
130130
service = described_class.chrome(log: '/path/to/log.txt')
131131

132132
expect(service.log).to be_nil
133-
expect(service.args).to eq ['--log-path', '/path/to/log.txt']
133+
expect(service.args).to eq ['--log-path=/path/to/log.txt']
134134
end
135135
end
136136
end

0 commit comments

Comments
 (0)