[rspec-users] rake spec:rcov failing

Scott Taylor mailing_lists at railsnewbie.com
Sat Oct 27 13:10:21 EDT 2007


Running rails 1.2.3, rcov (0.8.0.2), rspec trunk (2865) -

When running rake spec:rcov, I'm getting the following:

Finished in 245.717813 seconds

856 examples, 0 failures, 48 pending
/usr/local/lib/ruby/1.8/rexml/text.rb:292:in `normalize': private  
method `gsub' called for 0:Fixnum (NoMethodError)
         from /usr/local/lib/ruby/1.8/rexml/element.rb:1084:in `[]='
         from /usr/local/lib/ruby/1.8/rexml/element.rb:586:in  
`add_attribute'
         from (eval):490:in `table_'
         from (eval):490:in `each'
         from (eval):490:in `table_'
         from (eval):490:in `each'
         from (eval):490:in `table_'
         from /usr/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/lib/rcov/ 
report.rb:702:in `format_overview'
          ... 61 levels...
         from /usr/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/lib/ 
rcov.rb:628:in `dump_coverage_info'
         from /usr/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/lib/ 
rcov.rb:628:in `each'
         from /usr/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/lib/ 
rcov.rb:628:in `dump_coverage_info'
         from /usr/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/bin/rcov: 
405

Any ideas, or should I report this in the tracker?

Scott


More information about the rspec-users mailing list