jcasimir/draper — pull request #49 by bdotdub (2011-10-16 15:26:01+00:00)
Title: Adding RSpec generator

This pull request includes a generator for decorator specs. When `rails g draper:decorator User` is called, it'll generate `spec/decorators/user_decorator_spec.rb`

Like other Rails generators, this file would only be loaded when the generators are called.

Also included in the pull request is fixing what specs to run when a file under `lib/` is modified. It used to try to run `spec/lib/{path}`, instead of `spec/{path}`