Updated the code for latest changes done in Behat
This commit is contained in:
@@ -19,14 +19,9 @@ class MinkAwareInitializerSpec extends ObjectBehavior
|
||||
$this->shouldHaveType('Behat\Behat\Context\Initializer\ContextInitializer');
|
||||
}
|
||||
|
||||
function it_supports_mink_aware_contexts(MinkAwareContext $context)
|
||||
function it_does_nothing_for_basic_contexts(Context $context)
|
||||
{
|
||||
$this->supportsContext($context)->shouldBe(true);
|
||||
}
|
||||
|
||||
function it_does_not_support_basic_contexts(Context $context)
|
||||
{
|
||||
$this->supportsContext($context)->shouldBe(false);
|
||||
$this->initializeContext($context);
|
||||
}
|
||||
|
||||
function it_injects_mink_and_parameters_in_mink_aware_contexts(MinkAwareContext $context, $mink)
|
||||
|
||||
@@ -7,7 +7,6 @@ use Behat\Gherkin\Node\FeatureNode;
|
||||
use Behat\Gherkin\Node\ScenarioNode;
|
||||
use Behat\Mink\Mink;
|
||||
use PhpSpec\ObjectBehavior;
|
||||
use Prophecy\Argument;
|
||||
|
||||
class SessionsListenerSpec extends ObjectBehavior
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user