Files
friends-of-behat-mink-exten…/spec/Behat/MinkExtension/ServiceContainer/Driver/BrowserKitFactorySpec.php
2022-03-04 15:17:34 +01:00

25 lines
547 B
PHP

<?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);
}
}