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

Merged
1 commit merged into from Jan 15, 2011

2 participants

@jcxplorer

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.

@cavalle
Owner

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