Thanks for all the responses. Unfortunately, I apparently just like being difficult.<br><br>Tom: I installed the new version of rspec on a fresh app, so the first run of script/generate rspec was from the trunk version ... good idea though, because it sounds like something I would have done
<br><br>-----<br><br>David: all of my specify blocks have the string names on them, so that doesn't seem like the problem. I also tried running the two commands you provided but both returned the following errors:<br>
<br>$ rake spec --format specdoc<br>rake aborted!<br>No Rakefile found (looking for: ormat)<br>/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1934:in `raw_load_rakefile'<br>(See full trace by running task with --trace)
<br><br>$ rake spec -fs<br>rake aborted!<br>No Rakefile found (looking for: s)<br>/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1934:in `raw_load_rakefile'<br>(See full trace by running task with --trace)<br><br>
Is there some way I can turn off dry run for spec:doc?<br><br>--------<br><br>Aslak: I'm not relying on auto-generated names. Although I definitely agree that spec:doc is acting as if I were<br><br>-------<br><br>Any other ideas? ;)
<br><br>Thanks,<br><br>Chris Pratt<br><br><br><br><div><span class="gmail_quote">On 9/16/07, <b class="gmail_sendername">aslak hellesoy</b> <<a href="mailto:aslak.hellesoy@gmail.com">aslak.hellesoy@gmail.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">This happens if you have it blocks with no name. RSpec tries to<br>generate names based on the code inside, but with dry run it isn't
<br>executed, so it can't.<br><br>But maybe you don't have empty it blocks? I'm just guessing here...<br><br>Aslak<br><br>On 9/16/07, Christopher D. Pratt <<a href="mailto:chrisdpratt@gmail.com">chrisdpratt@gmail.com
</a>> wrote:<br>> I went ahead and moved to the trunk versions of RSpec and Spec:Rails because<br>> I wanted to try out the new Story Runner feature. However, when I tried to<br>> do "rake spec:doc", I got the following:
<br>><br>> AccountController<br>> - NO NAME (Because of --dry-run)<br>><br>> AccountHelper<br>> - NO NAME (Because of --dry-run)<br>><br>> User (in general)<br>> - NO NAME (Because of --dry-run)
<br>> - NO NAME (Because of --dry-run)<br>> - NO NAME (Because of --dry-run)<br>> - NO NAME (Because of --dry-run)<br>> - NO NAME (Because of --dry-run)<br>> - NO NAME (Because of --dry-run)<br>><br>> I emptied everything out of my
spec.opts file just to make sure it wasn't<br>> some setting there causing problems, but that still had no effect. I haven't<br>> submitted this as a bug yet because I'm still holding out the possibility
<br>> that I'm simply doing something wrong.<br>><br>> Thanks,<br>><br>> Chris Pratt<br>><br>> _______________________________________________<br>> rspec-users mailing list<br>> <a href="mailto:rspec-users@rubyforge.org">
rspec-users@rubyforge.org</a><br>> <a href="http://rubyforge.org/mailman/listinfo/rspec-users">http://rubyforge.org/mailman/listinfo/rspec-users</a><br>><br>_______________________________________________<br>rspec-users mailing list
<br><a href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/rspec-users">http://rubyforge.org/mailman/listinfo/rspec-users</a><br></blockquote></div><br>