README.rdoc in visionmedia-jspec-2.4.3 vs README.rdoc in visionmedia-jspec-2.5.0
- old
+ new
@@ -452,13 +452,17 @@
The following methods or properties are utilized by JSpec:
- init : called to initialize a module
- utilities : hash of utility functions merged with JSpec.defaultContext
- matchers : hash of matchers merged with JSpec's core matchers via JSpec.addMatchers()
+ - DSLs : hash of DSL methods; for example DSLs.snake contains before_each, after_each, etc.
+ Where as DSLs.camel may contain beforeEach, afterEach, etc.
Below is a list of hooks, descriptions, and valid return values which
-may simply be implemented as module methods.
+may simply be implemented as module methods. beforeSuite, afterSuite, beforeSpec, and afterSpec have lower
+precedence than before_each, after_each etc within the specs themselves, allowing them to override or undo
+anything that has been done by a Module.
- running(options) : started running JSpec with the options passed : returning 'stop' will halt running
- loading(file) : loading a file : returning 'stop' will prevent loading
- executing(file) : executing a file : returning 'stop' will prevent execution
- posting(data, url) : posting data to a url : returning 'stop' will prevent request
@@ -557,18 +561,24 @@
== Known Issues
* Tabs may cause a parse error. To prevent this use 'soft tabs' (setting in your IDE/Editor)
or use JSpec's grammar-less alternative (mentioned above).
-* The negation of the should_receive matcher is currently not available. (ex:
- foo.should.not.receive('toString()') will not work)
-
== More Information
* 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
+
+== Contributors
+
+Many ideas and bug reports were contributed by
+the following developers, thankyou for making
+JSpec more enjoyable, and bug free ;)
+
+* mpd@jesters-court.ne
+* kevin.gisi@gmail.com
== License
(The MIT License)