[rspec-users] best way to modify spec (the command-line tool)?
dchelimsky at gmail.com
Fri Jan 4 12:06:31 EST 2008
On Jan 4, 2008 10:55 AM, Ben Mabey <ben at benmabey.com> wrote:
> David Chelimsky wrote:
> > On Jan 4, 2008 10:14 AM, Ben Mabey <ben at benmabey.com> wrote:
> >> On rspec's specs I have noticed they have a profiling flag that they
> >> pass into the spec command. What is does is print out the longest specs
> >> with there times. So you may not have to rewrite this.. I have tried
> >> using the flag on my own projects but it didn't work. Maybe someone
> >> from the dev team could enlighten us on how to use that nifty trick?
> > It should just work with --format profile. What are you experiencing
> > when you do that?
> I just tried that and it worked great, thanks. Before, I didn't realize
> it was a formatter and thought it was its own flag. Thanks!
Glad you got it working.
More information about the rspec-users