Permalink
Browse files

added Mink, the MinkBundle and configuration

  • Loading branch information...
1 parent ec62d72 commit c7ed631f2e6a6c63ce8e773d93fabed995c70c72 @havvg committed Sep 9, 2011
View
@@ -28,6 +28,7 @@ public function registerBundles()
if ('test' === $this->getEnvironment()) {
$bundles[] = new Behat\BehatBundle\BehatBundle();
+ $bundles[] = new Behat\MinkBundle\MinkBundle();
}
return $bundles;
View
@@ -18,6 +18,8 @@
'Behat\Gherkin' => __DIR__.'/../vendor/behat/gherkin/src',
'Behat\Behat' => __DIR__.'/../vendor/behat/behat/src',
'Behat\BehatBundle' => __DIR__.'/../vendor/bundles',
+ 'Behat\Mink' => __DIR__.'/../vendor/behat/mink/src',
+ 'Behat\MinkBundle' => __DIR__.'/../vendor/bundles',
));
$loader->registerPrefixes(array(
'Twig_Extensions_' => __DIR__.'/../vendor/twig-extensions/lib',
@@ -12,3 +12,6 @@ web_profiler:
swiftmailer:
disable_delivery: true
+
+mink:
+ base_url: http://your-app.dev/app_test.php
View
@@ -69,3 +69,11 @@
[BehatBundle]
git=https://github.com/Behat/BehatBundle.git
target=/bundles/Behat/BehatBundle
+
+[mink]
+ git=https://github.com/Behat/Mink.git
+ target=/behat/mink
+
+[MinkBundle]
+ git=https://github.com/Behat/MinkBundle.git
+ target=/bundles/Behat/MinkBundle
@@ -16,7 +16,7 @@
/**
* Feature context.
*/
-class FeatureContext extends BehatContext
+class FeatureContext extends MinkContext
{
/**
* @Given /There is no "([^"]*)" in database/
Submodule mink added at d0c2d9
Submodule MinkBundle added at 0bdad1

0 comments on commit c7ed631

Please sign in to comment.