Skip to content

Instantly share code, notes, and snippets.

@MacDada

MacDada/dnspec2.php

Created Jun 10, 2014
Embed
What would you like to do?
<?php
namespace Dn;
class StringCalculatorSpec
{
public function specification($feature)
{
$feature('it_is_initializable', function ($it) {
$it->shouldHaveType('StringCalculator');
});
$feature['it_is_initializable'] = function ($it) {
$it->shouldHaveType('StringCalculator');
};
$feature->it_is_initializable = function ($it) {
$it->shouldHaveType('StringCalculator');
};
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment