This happens if you have it blocks with no name. RSpec tries to
generate names based on the code inside, but with dry run it isn't
executed, so it can't.

But maybe you don't have empty it blocks? I'm just guessing here...

Aslak

On 9/16/07, Christopher D. Pratt <[EMAIL PROTECTED]> wrote:
> I went ahead and moved to the trunk versions of RSpec and Spec:Rails because
> I wanted to try out the new Story Runner feature. However, when I tried to
> do "rake spec:doc", I got the following:
>
> AccountController
> - NO NAME (Because of --dry-run)
>
> AccountHelper
> - NO NAME (Because of --dry-run)
>
> User (in general)
> - NO NAME (Because of --dry-run)
> - NO NAME (Because of --dry-run)
> - NO NAME (Because of --dry-run)
> - NO NAME (Because of --dry-run)
> - NO NAME (Because of --dry-run)
> - NO NAME (Because of --dry-run)
>
> I emptied everything out of my spec.opts file just to make sure it wasn't
> some setting there causing problems, but that still had no effect. I haven't
> submitted this as a bug yet because I'm still holding out the possibility
> that I'm simply doing something wrong.
>
> Thanks,
>
> Chris Pratt
>
> _______________________________________________
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to