Spec for Tasks::draft.
Making post and draft return path of new file
Spec/implementation for Task::publish