Skip to content

Commit 1ae8705

Browse files
committed
Update cookie expiration in test to avaid timezone issues
1 parent 51fb633 commit 1ae8705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ module WebDriver
9292
it 'should use DateTime for expires' do
9393
driver.navigate.to url_for('xhtmlTest.html')
9494

95-
expected = (Date.today + 1).to_datetime
95+
expected = (Date.today + 2).to_datetime
9696
driver.manage.add_cookie name: 'foo',
9797
value: 'bar',
9898
expires: expected

0 commit comments

Comments
 (0)