Created
July 16, 2015 08:14
-
-
Save lchrusciel/c669ff19eaa5813626ac to your computer and use it in GitHub Desktop.
Specification template for phpspec. Put this file into .phpspec directory in a root of your project.
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
<?php | |
namespace %namespace%; | |
use PhpSpec\ObjectBehavior; | |
/** | |
* @author Łukasz Chruściel <lukasz.chrusciel@lakion.com> | |
*/ | |
class %name% extends ObjectBehavior | |
{ | |
function it_is_initializable() | |
{ | |
$this->shouldHaveType('%subject%'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment