Scratch this.
It has been noted that rcov has a hard time distinguishing what the last
line is.
If I put all of the code in that model on one line, it works great.
Thanks!
Andrew Davis
--
Posted via http://www.ruby-forum.com/.
___
rspec-users maili
On Nov 15, 2010, at 2:13 PM, Andrew Davis wrote:
> Hello all,
>
> I'm on the final stretch of testing my model, and I've realized that one
> simple line isn't being tested. I was hoping to get some insight on what
> I can do to accomplish this. The line that isn't being covered by Rcov
> is the "
Hello all,
I'm on the final stretch of testing my model, and I've realized that one
simple line isn't being tested. I was hoping to get some insight on what
I can do to accomplish this. The line that isn't being covered by Rcov
is the ".sum". See code here:
Test:
http://pastie.org/private/djdqtma