Skip to content

Instantly share code, notes, and snippets.

@Cosmicist
Forked from greydnls/specification.tpl
Last active September 4, 2015 16:12
Show Gist options
  • Save Cosmicist/97e26aed665cd6c0ba71 to your computer and use it in GitHub Desktop.
Save Cosmicist/97e26aed665cd6c0ba71 to your computer and use it in GitHub Desktop.
PHPSpec Laravel template php5
<?php
namespace %namespace%;
use PhpSpec\Laravel\LaravelObjectBehavior as ObjectBehavior
use Prophecy\Argument;
class %name% extends ObjectBehavior
{
function it_is_initializable()
{
$this->shouldHaveType(\%subject%::class);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment