Fix task fixtures so that unit tests pass
Make task title compulsory
Set default value of task completed to be false, since the previous way I tried to do this didn't work
Clean up redundant setting of completed to false, since this is now handled by the default DB value
Remove task completed field from fixtures, since this is now false by default
Add test for task controller index action
Test that new task is uncompleted by default
Test that a task has no children or parents by default
Remove unnecessary fixtures
Add test for task endpoint which allows you to create a new task
Test that creating a new post increases the post count
Test redirect after creating a new task
Test creation of a new sub-task
Add parent task as a fixture, rather than saving it in the controller test
Test redirect after creating a child task
Test that fetching a random task succeeds
Test that random task is not completed
Test action which fetches a random task
Test redirection after completing a task
Commonise code for creating a new task in tasks controller tests