detro/ghostdriver — pull request #62 by jimevans (2012-09-18 03:19:47+00:00)
Title: Adding failing cookie tests

This pull request adds tests for two scenarios, both of which pass for IE, Firefox, and Chrome.

Calling deleteAllCookies() when there are no cookies defined currently throws an error in GhostDriver. It should be a no-op. shouldBeAllowedToDeleteAllCookiesWhenNoCookiesSet() tests this.

Attempting to set a cookie with an expiration date in the past should be allowed via the WebDriver API. shouldBeAbleToSetCookieThatExpiresInThePast() tests this.