We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fd0b81 commit 0a765e9Copy full SHA for 0a765e9
rb/spec/integration/selenium/webdriver/manager_spec.rb
@@ -255,12 +255,12 @@ module WebDriver
255
256
it 'throws an error when cookie name is an empty string' do
257
expect { driver.manage.delete_cookie('') }
258
- .to raise_error(ArgumentError, /Cookie name cannot be null or empty/)
+ .to raise_error(ArgumentError, /Cookie name cannot be empty/)
259
end
260
261
- it 'throws an error when cookie name is an empty string' do
+ it 'throws an error when cookie name is a nil string' do
262
expect { driver.manage.delete_cookie(nil) }
263
+ .to raise_error(ArgumentError, /Cookie name cannot be null/)
264
265
266
end # Options
0 commit comments