Skip to content

Instantly share code, notes, and snippets.

@kenglxn
Created May 13, 2011 11:42
Show Gist options
  • Save kenglxn/970389 to your computer and use it in GitHub Desktop.
Save kenglxn/970389 to your computer and use it in GitHub Desktop.
screw unit ex
describe('#decrement_luck', function() {
it("decrements the luck field by the given amount", function() {
man.decrement_luck(3);
expect(man.luck()).to(equal, 2)
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment