[rspec-users] RSpec not testing ".sum"
lists at ruby-forum.com
Mon Nov 15 15:13:12 EST 2010
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:
So each Task Order has some crazy associations, but in the end, it's
summing the collection of criterion rollup scores. The test passes, but
the ".sum" isn't being covered. Might I be missing something?
Thanks in advance,
Posted via http://www.ruby-forum.com/.
More information about the rspec-users