Skip to content

Instantly share code, notes, and snippets.

@jacobsantos
Created August 12, 2014 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacobsantos/9baae28a6e4e0c6e2809 to your computer and use it in GitHub Desktop.
Save jacobsantos/9baae28a6e4e0c6e2809 to your computer and use it in GitHub Desktop.
Describe function with example description and action
<?php
describe(
// The description of the specification.
'the describe function needs to have callable and context',
// All of the options and tests are contained within this closure.
// The closure or invoke object must accept no arguments, because none will
// be given when called.
function() {}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment