Refactor Project#protected_for? specs
Refactor Project#protected_for? specs

This refactors the Project#protected_for? specs to separate them into
two contexts: when the ref is a full ref and when the ref is a ref name.

axilleas/gitlabhq,dreampet/gitlab,mmkassem/gitlabhq,dreampet/gitlab,mmkassem/gitlabhq,axilleas/gitlabhq,dreampet/gitlab,stoplightio/gitlabhq,mmkassem/gitlabhq,iiet/iiet-git,iiet/iiet-git,axilleas/gitlabhq,stoplightio/gitlabhq,stoplightio/gitlabhq,stoplightio/gitlabhq,iiet/iiet-git,axilleas/gitlabhq,mmkassem/gitlabhq,iiet/iiet-git,dreampet/gitlab