Turn the TaskHelper mix-in into a class
extract remove_old_task into a private method
stricter about task model creation in test
Extract task removal into a class TaskRemover

Signed-off-by: Matthew Boedicker <mboedicker@pivotallabs.com>
Clarify argument name

Signed-off-by: Rob Day-Reynolds <rdayreynolds@pivotallabs.com>
Fix level of abstraction in stemcell_manager_spec

Signed-off-by: Rob Day-Reynolds <rdayreynolds@pivotallabs.com>
Clean up tests for BackupManager

Signed-off-by: Rob Day-Reynolds <rdayreynolds@pivotallabs.com>
Test cleanup for DeploymentManager

Signed-off-by: Rob Day-Reynolds <rdayreynolds@pivotallabs.com>
Cleanup tests for InstanceManager.

Signed-off-by: Matthew Boedicker <mboedicker@pivotallabs.com>
Test cleanup for ProblemManager and ReleaseManager

Signed-off-by: Matthew Boedicker <mboedicker@pivotallabs.com>
Cleanup SnapshotManager specs

Signed-off-by: Matthew Boedicker <mboedicker@pivotallabs.com>
Spec cleanup for VMStateManager

Signed-off-by: Matthew Boedicker <mboedicker@pivotallabs.com>
Filter tasks to delete based on state

  * Do not delete tasks in `queued` or `processing` state

Signed-off-by: Matthew Boedicker <mboedicker@pivotallabs.com>
Fix failures in task_helper_spec

Signed-off-by: Matthew Boedicker <mboedicker@pivotallabs.com>