Running "rails destroy steak:spec ..." empties the spec/acceptance folder #30

1 commit merged into from Jan 15, 2011

2 participants


The #empty_directory method from Thor can only be executed when running "rails generate" and not "rails destroy", or it ends up cleaning up the whole spec/acceptance directory.

Shame I found this bug before committing some changes. Anyway, it's fixed and spec'ed now.


Good one! It's merged now. Thanks a lot

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment