1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00
Commit graph

8 commits

Author SHA1 Message Date
Vasiliy Ermolovich
6f0d5aae9f handle namespaced models in spec generators
closes #279
2012-09-21 19:02:06 +03:00
Steve Klabnik
3732313940 Remove setup from Test::Unit generator 2012-08-28 22:50:19 -07:00
Steve Klabnik
1d6491b4c7 kill set_current_view_context 2012-07-17 14:23:31 -07:00
Steve Klabnik
9155e58f74 Generators redux.
Lots of changes here:

* rake draper:install no longer needed
* don't generate an ApplicationGenerator by default
** If one exists, the generator respects it
* Fixes #53
2012-05-09 14:17:41 -04: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
ca3cf912e0 Add a Test::Unit generator and hook to create default decorator tests 2011-10-19 23:17:01 -04:00