Commit Graph

6 Commits

Author SHA1 Message Date
yhirano cfe4d33733 Refactor generator for TestUnit, RSpec (#816)
* Refactor generator for TestUnit

* Refactor generators for RSpec

* Refactor source_root for cosme
2017-07-20 08:51:30 -05:00
Vasiliy Ermolovich 6f0d5aae9f handle namespaced models in spec generators
closes #279
2012-09-21 19:02:06 +03:00
Vasiliy Ermolovich 49f01d9086 rework generators 2012-04-28 23:02:22 +03:00
Thiago Almeida 65451cfdf2 draper:decorator also defaults to rspec test-framework 2012-02-13 13:50:32 -02:00
Alexandre Angelim 7d6789444b Splitting draper:decorator into draper:install and draper:decorator, so I won't lose all my decorators when trying to destroy one of them (again!).
- run rails g draper:install to create draper directories (app/decorators and spec/decorators), along with application_decorator files.
- use rails g draper:install -t=test_unit to select unit tests instead of rspec.
2011-11-30 14:07:15 -02:00
Benny Wong fa4f2ebbd5 Add a RSpec generator and hook to create default decorator specs 2011-10-17 02:45:22 -04:00