Last Updated: February 25, 2016
· stas

Rails Engine: rake task and generator to DRY `spec/dummy`

When working with Rails Engine, you will need a dummy app in order to test your code. Following the DRY principle, ideally we will generate the dummy app before running test suite to make sure our environment is clean.

Since Rails will provide support for automating such a task only in v.4.0, here's one way you can achieve the same result.


1 Response
Add your response


Later update:
Use gemified task as a gem with https://github.com/Courseware/rails-dummy

over 1 year ago ·