-
-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from dawehner/drupal-6
Initial version of the Drupal 6 support for extension ~3.0 Signed-off-by: Jonathan Hedstrom <[email protected]>
- Loading branch information
Showing
4 changed files
with
520 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
namespace spec\Drupal\Driver\Cores; | ||
|
||
use Drupal\Component\Utility\Random; | ||
|
||
use PhpSpec\ObjectBehavior; | ||
use Prophecy\Argument; | ||
|
||
class Drupal6Spec extends ObjectBehavior | ||
{ | ||
function let(Random $random) | ||
{ | ||
$this->beConstructedWith('path', 'http://www.example.com', $random); | ||
} | ||
|
||
function it_is_initializable() | ||
{ | ||
$this->shouldHaveType('Drupal\Driver\Cores\Drupal6'); | ||
} | ||
|
||
function it_should_return_a_random_generator() | ||
{ | ||
$this->getRandom()->shouldBeAnInstanceOf('Drupal\Component\Utility\Random'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.