Add spec for detail model
Add priority spec to detail model
Add spec to detail name format

    It should match \A\s*pattern\s*\Z