[rspec-users] Adding specs to engines
dchelimsky at gmail.com
Tue Jun 9 00:37:29 EDT 2009
On Mon, Jun 8, 2009 at 10:33 PM, ru_ghetto<ru_ghetto at rubyghetto.com> wrote:
> I am breaking an app into a bunch of rails 2.x style engine plugins.
> The app is already tested with rspec and I am trying to figure out how
> to get autotest or even rake spec to run the examples in the plugins.
> Thanks for any information
For plugins there is a rake spec:plugins task, but you can also roll
your own rake task pretty easily. Just take a look at all the
different spec tasks in lib/tasks/rspec.rake (generated when you ran
script/generate rspec). Also doco is here:
More information about the rspec-users