Create AppiumFactorySpec.php
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace spec\Behat\MinkExtension\ServiceContainer\Driver;
|
||||
|
||||
use PhpSpec\ObjectBehavior;
|
||||
|
||||
class AppiumFactorySpec extends ObjectBehavior
|
||||
{
|
||||
function it_is_a_driver_factory()
|
||||
{
|
||||
$this->shouldHaveType('Behat\MinkExtension\ServiceContainer\Driver\DriverFactory');
|
||||
}
|
||||
|
||||
function it_is_named_appium()
|
||||
{
|
||||
$this->getDriverName()->shouldReturn('appium');
|
||||
}
|
||||
|
||||
function it_supports_javascript()
|
||||
{
|
||||
$this->supportsJavascript()->shouldBe(true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user