Add support for BrowserKit driver

This commit is contained in:
thePanz
2022-01-07 16:00:02 +01:00
parent df04efb3e8
commit 760868b9e5
3 changed files with 91 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace spec\Behat\MinkExtension\ServiceContainer\Driver;
use PhpSpec\ObjectBehavior;
use Behat\MinkExtension\ServiceContainer\Driver\DriverFactory;
class BrowserKitFactorySpec extends ObjectBehavior
{
function it_is_a_driver_factory()
{
$this->shouldHaveType(DriverFactory::class);
}
function it_is_named_browserkit()
{
$this->getDriverName()->shouldReturn('browserkit_http');
}
function it_does_not_support_javascript()
{
$this->supportsJavascript()->shouldBe(false);
}
}