Skip to content

Instantly share code, notes, and snippets.

@GraemeF
Created December 4, 2011 19:00
Show Gist options
  • Save GraemeF/1430995 to your computer and use it in GitHub Desktop.
Save GraemeF/1430995 to your computer and use it in GitHub Desktop.
Feature("Character management", module)
.scenario("Create a new character")
.given(Events.Named_AreSubscribedTo "characterCreated")
.when(Character._IsCreatedWithName_ 1, 'bob')
.then(Events.ShouldDescribeTheCreationOfCharacter_Named_ 1, 'bob')
.complete()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment