Since you have fixtures, you don't need to create a new Post here to edit. Can you refactor this a little to use an existing post, loaded from fixtures?