Add some unit tests for lib/api/helpers.rb
Add some unit tests for lib/api/helpers.rb

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