Merge pull request #54 from Goutte/steps_sugar

Added optional 'the' to iAmOnHomepage step
This commit is contained in:
Konstantin Kudryashov
2012-12-04 08:26:49 -08:00

View File

@@ -26,8 +26,8 @@ class MinkContext extends RawMinkContext implements TranslatedContextInterface
/** /**
* Opens homepage. * Opens homepage.
* *
* @Given /^(?:|I )am on homepage$/ * @Given /^(?:|I )am on (?:|the )homepage$/
* @When /^(?:|I )go to homepage$/ * @When /^(?:|I )go to (?:|the )homepage$/
*/ */
public function iAmOnHomepage() public function iAmOnHomepage()
{ {