Documentation

This commit is contained in:
Ingo Schommer 2013-06-05 13:27:39 +02:00
parent 1eed512b7d
commit 55c7f578fd

View File

@ -66,6 +66,9 @@ class LoginContext extends BehatContext
}
/**
* Creates a member in a group with the correct permissions.
* Example: Given I am logged in with "ADMIN" permissions
*
* @Given /^I am logged in with "([^"]*)" permissions$/
*/
function iAmLoggedInWithPermissions($permCode)
@ -108,7 +111,7 @@ class LoginContext extends BehatContext
}
/**
* @When /^I log in with "([^"]*)" and "([^"]*)"$/
* @When /^I log in with "(?<username>[^"]*)" and "(?<password>[^"]*)"$/
*/
public function stepILogInWith($email, $password)
{