discourse/discourse — pull request #1750 by velesin (2013-12-19 18:04:27+00:00)
Title: fixes HeaderController test

- stubs current user singleton instead of manipulating its properties directly (what could result in leaking test state into global scope)
- simplifies unnecessary module-wide setup