Security update for permissions_by_term
[yaffs-website] / vendor / drupal / drupal-extension / spec / Drupal / DrupalExtension / Context / DrushContextSpec.php
1 <?php
2
3 namespace spec\Drupal\DrupalExtension\Context;
4
5 use PhpSpec\ObjectBehavior;
6 use Prophecy\Argument;
7
8 use Drupal\DrupalDriverManager;
9
10 class DrushContextSpec extends ObjectBehavior
11 {
12     function it_should_be_drupal_aware()
13     {
14         $this->shouldHaveType('Drupal\DrupalExtension\Context\RawDrupalContext');
15     }
16
17     function it_will_catch_scenarios_without_any_output()
18     {
19         $this->shouldThrow('\RuntimeException')->duringReadDrushOutput();
20     }
21
22     function it_is_a_translatable_context()
23     {
24         $this->shouldHaveType('Behat\Behat\Context\TranslatableContext');
25     }
26 }