Vasiliy Ermolovich
f42ec0a287
make specs order independed
2012-06-09 02:14:48 +03:00
Vasiliy Ermolovich
b302e8dd42
use ApplicationDecorator if it's present, closes #190
2012-05-12 02:18:57 +03: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
Steve Ellis
b2485bcfb7
fix generator naming for CamelCased models
2012-03-31 11:36:59 -04:00
Vasiliy Ermolovich
44f1d95c42
always generate file with downcased name
2012-03-27 17:33:19 +03:00
Mark Burns
93191523ba
trailing whitespace
2012-03-03 14:01:19 +00:00
Thiago Almeida
7e45a1f772
draper:decorator defaults to rspec too
2012-02-14 00:19:03 -02:00
Steve Klabnik
56ce55addb
Zomg removing trailing whitespace.
2012-02-13 10:24:31 -05: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
Benny Wong
fa4f2ebbd5
Add a RSpec generator and hook to create default decorator specs
2011-10-17 02:45:22 -04:00
Alex Rothenberg
16e8868da1
added generator specs using the ammeter gem
2011-10-06 16:58:04 -04:00