README.rdoc in jspec-2.11.10 vs README.rdoc in jspec-2.11.12

- old
+ new

@@ -75,10 +75,17 @@ You may optionally want to use sources in the /pkg directory for your project, since it includes compressed alternatives generated each release. +== Cheat Sheet + +Using the bash cheat sheet library found at http://github.com/visionmedia/ch +we can get quick cheat sheets for many aspects of development including JSpec! + + $ cd /tmp && git clone git://github.com/visionmedia/ch.git && cd ch && sudo make install && ch jspec + == Example describe 'ShoppingCart' before_each cart = new ShoppingCart @@ -435,11 +442,20 @@ === Inclusive Range Literal The following expands to the array of [1,2,3,4,5] n.should.be_within 1..5 + +=== __END__ +Any text placed after __END__ is considered irrelevant and +is striped out before evaluation. This is sometimes useful for +document or code reference while writing specs. + +For example when writting regression specs it is sometimes useful +to paste the issue ticket's comment(s) below this area for reference. + == Formatters To change a formatter simply alter the options hash like below, assigning a new constructor, or pass it within the hash to run(): @@ -772,9 +788,10 @@ * JSocka stubbing http://github.com/gisikw/jsocka/tree/master == More Information +* Google Group http://groups.google.com/group/jspec * IRC Channel irc://irc.freenode.net#jspec * Featured article in JSMag: http://www.jsmag.com/main.issues.description/id=21/ * Syntax comparison with other frameworks http://gist.github.com/92283 * Get the TextMate bundle at https://github.com/visionmedia/jspec.tmbundle/tree * For more information consult the JSpec source code documentation or visit http://visionmedia.github.com/jspec