avoinministerio/avoinministerio — pull request #160 by jyrkive (2012-06-18 13:44:59+00:00)
Title: Get rid of the [0, 0, false] spam when automated tests are run

As I've mentioned in [issue 143](https://github.com/avoinministerio/avoinministerio/issues/143#issuecomment-6098495), something keeps outputting the text [0, 0, false] when automated tests are run. It's very annoying in my opinion.

Apparently Tanker attempts to index all citizens which are created during the tests and calls Citizen#published_something? to check if they should be indexed. Citizen#published_something?, on the other hand, prints some text to the standard output, causing the [0, 0, false] spam.

This commit fixes the issue by keeping Citizen#published_something? from printing anything.