Skip to content

Commit cfc4242

Browse files
modified message
1 parent 0a765e9 commit cfc4242

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rb/spec/integration/selenium/webdriver/manager_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,12 @@ module WebDriver
255255

256256
it 'throws an error when cookie name is an empty string' do
257257
expect { driver.manage.delete_cookie('') }
258-
.to raise_error(ArgumentError, /Cookie name cannot be empty/)
258+
.to raise_error(ArgumentError, /Cookie name cannot be null or empty/)
259259
end
260260

261261
it 'throws an error when cookie name is a nil string' do
262262
expect { driver.manage.delete_cookie(nil) }
263-
.to raise_error(ArgumentError, /Cookie name cannot be null/)
263+
.to raise_error(ArgumentError, /Cookie name cannot be null or empty/)
264264
end
265265
end
266266
end # Options

0 commit comments

Comments
 (0)