Fix failing spec

Rendering the edit view after a failed update wasn't setting some
required instance variables