codecombat/codecombat — pull request #1395 by rubenvereecken (2014-07-29 10:50:43+00:00)
Title: Added test cases for fetching related by user slug instead of ID

Feels like emptying a bathtub with a spoon. I'll leave the rest for the big database refactoring. Also apparently it's possible to create ownerless level sessions through POST requests (even when a creator is set). I tried mimicking the site's way of creating level sessions but didn't manage.

Anyway, tests for the PR from yesterday. Cleaned up some too.