Created
October 3, 2011 11:48
-
-
Save everzet/1258944 to your computer and use it in GitHub Desktop.
Geeky context for Behat + Mink
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Behat\Mink\Behat\Context\MinkContext; | |
/** | |
* Provides basic steps to test your web app from the geek perspective. | |
*/ | |
class GeekyMinkContext extends MinkContext | |
{ | |
/** | |
* @Given /^I fill a hidden field with firebug$/ | |
*/ | |
public function fillHiddenField() | |
{ | |
throw new \InvalidArgumentException('User expected, but geek given'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment