Modify logic to watch a finish of spec.
Merge pull request #36 from Sheile/modify-check-logic-for-finish

Modify logic to watch a finish of spec.