When I throw the inspected hash {:pending=>0, :active=>1, :suspended=>2, :expired=>3, :incomplete=>4, :closed=>5, :cancelled=>6} into IRB and run each etc., it works just fine. What in all that is holy am I missing?

1 Answer
1

Alright. Just as I suspected. I don't feel totally bad, but it is still pretty stupid.

My rake tests were not bringing the failing code to the console, I'm not sure why, but when I run it in rails c I got undefined method exceptions. That's much more descriptive. I'm not sure why rake test was not showing me those errors.