nulldb/nulldb — Issue #16: Not setting project root correctly?
Author: mattvanhorn
Created: 2011-12-04 19:34:14+00:00
State: open

In my spec helper, I have:
require 'nulldb_rspec'

but my specs still fail, unless I also add:
NullDB.configure {|ndb| ndb.project_root = Rails.root}

Now, I see this line is in nulldb/rails, (which I'm pretty sure is getting required) but somehow it looks like either it is not geting run, or it is getting stepped on later in the process. I'm not going to put a debugger on it right now, but I figure maybe someone knows about it and could explain here.

If you are supposed to add that to spec_helper, maybe I or someone can update the README to reflect that.