README.rdoc in visionmedia-jspec-2.5.0 vs README.rdoc in visionmedia-jspec-2.5.1
- old
+ new
@@ -10,10 +10,11 @@
* Highly readable
* Framework / DOM independent
* Modular via JSpec Module's and hooks
* Rhino support
+* Node.js support
* Async support
* Ruby JavaScript testing server
* Nested describes
* Does not pollute core object prototypes
* Cascading before/after/before_each/after_each hooks
@@ -560,9 +561,21 @@
== 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 preprocessor is not (yet) capable of multiline conversions. For example the following is invalid
+
+ object.stub('getContentsOfURL').and_return(function(url){
+ return 'html'
+ })
+
+ In cases such as this, you may always revert to utilizing JSpec in a grammar-less form as follows:
+
+ stub(object, 'getContentsOfURL').and_return(function(url){
+ return 'html'
+ })
== 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