cavalle / steak

DISCONTINUED - The delicious combination of RSpec and Capybara for Acceptance BDD
MIT License
763 stars 32 forks source link

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

Closed jcxplorer closed 13 years ago

jcxplorer commented 13 years ago

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 commented 13 years ago

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