views:

79

answers:

2

While trying to migrate, I keep getting this error:

rake aborted!
test-unit is not part of the bundle. Add it to Gemfile.

If I'm using RSpec, can I just delete the test folder altogether?

A: 

I believe so. Rspec should only be looking for tests in ../spec/*

chsonnu
A: 

This error means that somewhere inside your project there is a require test-unit without it being specified in the Gemfile.

So you should actually try to find that statement and remove it to fix this error (or add the dependency to the gemfile --but that sounds a bit backwards if you are not using it).

Anyway: you can definitely remove the test folder if you are using rspec.

nathanvda
Thanks. Much appreciated.
teecraft