While my tests run just fine, IntelliJ complains that it can\'t find the routes object and code auto complete fails to work. I\'ve looked all over the documentation and this
Actually your question motivated me to find solution for this annoying issue :)
And actually it was already answered, see this answer which works: https://stackoverflow.com/a/21879374/1066240
Also read other answers and comments.