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
Andrea Dal Ponte
c9206938e8
Use non-monkey patch describe in generators.
...
The default Rails spec generators should not use the monkey patched version of
describe. (https://github.com/rspec/rspec-rails/pull/1052 )
2016-10-17 16:57:52 +02:00
Spencer Dixon
03f969c503
Updated template to use rails_helper instead of spec_helper so it works with Rails 4
2015-09-14 20:26:13 -04:00
Vasiliy Ermolovich
6f0d5aae9f
handle namespaced models in spec generators
...
closes #279
2012-09-21 19:02:06 +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
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