Security update for permissions_by_term
[yaffs-website] / vendor / drupal / drupal-driver / spec / Drupal / Driver / Cores / Drupal7Spec.php
diff --git a/vendor/drupal/drupal-driver/spec/Drupal/Driver/Cores/Drupal7Spec.php b/vendor/drupal/drupal-driver/spec/Drupal/Driver/Cores/Drupal7Spec.php
new file mode 100644 (file)
index 0000000..9ee3ae4
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+
+namespace spec\Drupal\Driver\Cores;
+
+use Drupal\Component\Utility\Random;
+
+use PhpSpec\ObjectBehavior;
+use Prophecy\Argument;
+
+class Drupal7Spec extends ObjectBehavior
+{
+    function let(Random $random)
+    {
+        $this->beConstructedWith('path', 'http://www.example.com', $random);
+    }
+
+    function it_is_initializable()
+    {
+        $this->shouldHaveType('Drupal\Driver\Cores\Drupal7');
+    }
+
+    function it_should_return_a_random_generator()
+    {
+        $this->getRandom()->shouldBeAnInstanceOf('Drupal\Component\Utility\Random');
+    }
+}