jspec

JSpec - RangeError: Maximum call stack size exceeded.

With my two attempts at getting a message posted to the JSpec Google Group having apparently failed, I'm posting here instead. I'm having trouble with JSpec apparently going into an infinite recursive loop with a certain kind of test (below). Any ideas? It there something wrong with my code or is it JSpec? I'm Running JSpec 2.11.2 via R...

How to manage CouchDB code out of it?

I am new to CouchDB way of making things. So, I have a lot of questions about it, but let's focus in one of them. CouchDB has this concept of javascript code (validation + map-reduce + show + ?) being written in the design documents. This is part of the database, like stored procedures or triggers are for more tradittional databases. I...

JSpec mock_request() on Chrome

Hi, I have mock_request() calls on my JSpec tests, and they work fine on Firefox, but they break on Chrome because of mock_request... The tests don't even run on Chrome... Does anybody knows how to fix this? Thanks, Lucas ...

BDD / TDD with JSpec - Removing code duplication

How do I refactor to remove the code duplication in this spec: describe 'TestPlugins' describe '.MovieScanner(document)' before_each MoviePage_loggedIn = fixture("movie_logged_in.html") // Get logged-in movie page MoviePage_notloggedIn = fixture("movie_not_logged_in.html") // Get no...

JSpec no longer supported?

Coming from the Ruby community I'm looking for a BDD-testing framework for Javascript/Node.js. I was JSpec and thought it would be the right choice because I used RSpec in Ruby. But on their GitHub page http://github.com/visionmedia/jspec it says it's no longer supported. They are abandoning this project? Does this mean I shouldn't u...