fix rspec to work with no db