[rspec-users] Display Rspec output in an html file

David Chelimsky dchelimsky at gmail.com
Fri Nov 27 05:58:09 EST 2009

On Fri, Nov 27, 2009 at 3:21 AM, Amit Kulkarni <lists at ruby-forum.com> wrote:

> Amit Kulkarni wrote:
> > Any suggestions on the above topic
> Hello,
> I want to print my output in an html file.
> I am using command rake spec:controllers --format html:result.html from
> the root directory
> But it is not working.
> Please suggest

--format is a spec command option:

spec spec/controllers --format html:result.html

The rake task doesn't support command line options.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20091127/7bda25d0/attachment.html>

More information about the rspec-users mailing list