This PR fixes #291 by showing an informative error message when trying
to pull-request in a detached HEAD.
friendly error when pull-request in detached HEAD
The test in test/ wasn't needed since Cucumber test is superior.
Funnily enough, initially, I only wrote the Cucumber test. I added the unit test later but I agree it's redundant. Thanks!