Unit testing with ruby - mocking | Hacker News Reader