[rspec-devel] [ rspec-Bugs-14671 ] Spec::DSL::ExampleRunner gives "NO NAME because of --dry-run" for every example for 'rake spec:doc'

noreply at rubyforge.org noreply at rubyforge.org
Fri Oct 12 19:33:21 EDT 2007


Bugs item #14671, was opened at 2007-10-12 13:33
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=14671&group_id=797

Category: runner module
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Tim  Dysinger (dysinger)
Assigned to: Nobody (None)
Summary: Spec::DSL::ExampleRunner gives "NO NAME because of --dry-run" for every example for 'rake spec:doc'

Initial Comment:
This used to work but currently in trunk is broken.  Reproduce by rake spec:doc on a rails project with specs and examples.

It can be fixed by commenting out line 19 of example runner where it statically assigns the example_definition.description as "NO NAME (Because of --dry-run)" instead of just leaving it as the actual example def description.

???


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=14671&group_id=797


More information about the rspec-devel mailing list