jcasimir/draper — pull request #182 by nashby (2012-04-28 20:02:04+00:00)
Title: automatically detect test framework in generators

So
* when application was generated with `-T` option draper doesn't generate any spec or test
* when we are using `unit_test` draper generates test
* and we have `rspec-rails` in our Gemfile it means that our test framework is

```ruby
generators.test_framework :rspec
```
so `hook_for :test_framework` detects it and generates specs for our decorators. No need for explicit reference to test framework anymore. Yay!

closes #176