Skip to content

Commit 0a765e9

Browse files
modified messages
1 parent 2fd0b81 commit 0a765e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 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 null or empty/)
258+
.to raise_error(ArgumentError, /Cookie name cannot be empty/)
259259
end
260260

261-
it 'throws an error when cookie name is an empty string' do
261+
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 or empty/)
263+
.to raise_error(ArgumentError, /Cookie name cannot be null/)
264264
end
265265
end
266266
end # Options

0 commit comments

Comments
 (0)