This comment is hidden because it contains spoiler information about the solution
This really should be fixed.
This was the coolest Kata I solved here yet. Felt like Sherlock Holmes. :) Great work!
Fun small-scoped kata. It's really is one of those challenges that you run across in practice.
Very tiny improvement: fix the typo in test_it_wont_assign_people_to_who_they_gifts_to_last_year to test_it_wont_assign_people_to_who_they_gave_to_last_year.
Great! I'll use that approach instead of the spy, that's much cleaner. Updated again.
Woah, thanks for pointing this out!
So die() is not considered a failure? That's a shame; I was looking for a simple way to do this; do I have to resort to a 'spy'-solution, where I use state to detect 'incorrect' calls and fail them in the test, instead?