Skip to content

Commit

Permalink
Update cookie expiration in test to avaid timezone issues
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Jun 28, 2019
1 parent 51fb633 commit 1ae8705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb/spec/integration/selenium/webdriver/manager_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ module WebDriver
it 'should use DateTime for expires' do
driver.navigate.to url_for('xhtmlTest.html')

expected = (Date.today + 1).to_datetime
expected = (Date.today + 2).to_datetime
driver.manage.add_cookie name: 'foo',
value: 'bar',
expires: expected
Expand Down

0 comments on commit 1ae8705

Please sign in to comment.