Skip to content

Instantly share code, notes, and snippets.

@jhollingworth
Created May 7, 2010 12:28
Show Gist options
  • Save jhollingworth/393353 to your computer and use it in GitHub Desktop.
Save jhollingworth/393353 to your computer and use it in GitHub Desktop.
class When_a_development_is_asked_to_do_a_rewrite :
{
Establish context = () => Expecting.Exception();
Because the_dev_team_was_asked_to_do_a_rewrite = () => DevTeam.ReWriteFromScratch();
It should_not_allow_the_dev_team_to_do_a_rewrite = () => Thrown.Exception.ShouldBeOfType<ProgrammersBeenGivenTooMuchFreedomException>();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment