Added optional 'the' to iAmOnHomepage step

This commit is contained in:
Goutte
2012-12-04 17:20:34 +01:00
parent 880fc457e0
commit be2a10eda8

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()
{ {