Get all entries attributed with category
Found an answer to this here: https://craftcms.stackexchange.com/a/4132/3890

The important thing to note is when you're using relatedTo you're not passing a slug, you're passing a whole object. So just .relatedTo('category-name') won't work.