Fix examples in relation to checkboxes

This commit is contained in:
Mathias STRASSER
2016-05-12 10:17:25 +02:00
parent b22984beb7
commit ab0c956c40

View File

@@ -173,8 +173,8 @@ class MinkContext extends RawMinkContext implements TranslatableContext
/**
* Checks checkbox with specified id|name|label|value
* Example: When I check "Pearl Necklace" from "itemsClaimed"
* Example: And I check "Pearl Necklace" from "itemsClaimed"
* Example: When I check "Pearl Necklace"
* Example: And I check "Pearl Necklace"
*
* @When /^(?:|I )check "(?P<option>(?:[^"]|\\")*)"$/
*/
@@ -186,8 +186,8 @@ class MinkContext extends RawMinkContext implements TranslatableContext
/**
* Unchecks checkbox with specified id|name|label|value
* Example: When I uncheck "Broadway Plays" from "hobbies"
* Example: And I uncheck "Broadway Plays" from "hobbies"
* Example: When I uncheck "Broadway Plays"
* Example: And I uncheck "Broadway Plays"
*
* @When /^(?:|I )uncheck "(?P<option>(?:[^"]|\\")*)"$/
*/