Move test helper methods out of the context() block to prevent scoping issues in ruby 1.8.7
Move test helper methods out of the context() block to prevent scoping issues in ruby 1.8.7

SamuelMoraesF/Gitorious,adg29/asi.gitorious,balcom/gitorious,deld/gitorious,Gitorious-backup/vsr-mainline,ericbutters/eric-gitorious,Gitorious-backup/base_uri-fixes,rae/gitorious-mainline,Gitorious-backup/base_uri-fixes,vymiheev/Gitorious-OpenStack,rae/gitorious-mainline,spencerwp/mainline,deld/gitorious,tigefa4u/gitorious-mainline,vymiheev/Gitorious-OpenStack,Gitorious-backup/yousource-features,tigefa4u/gitorious-mainline,elcom/gitorious,Gitorious-backup/mainline,crazycode/gitorious,tigefa4u/gitorious-mainline,Gitorious-backup/franklin-devs-phpbbhub,Gitorious-backup/base_uri-fixes,victori/gitorious-jruby,Gitorious-backup/mainline,njall/wel-gitorious,gnufied/gitorious,SamuelMoraesF/Gitorious,SamuelMoraesF/Gitorious,rae/gitorious-mainline,njall/wel-gitorious,elcom/gitorious,vymiheev/Gitorious-OpenStack,Gitorious-backup/yousource,victori/gitorious-jruby,adg29/asi.gitorious,feniix/gitorious,Gitorious-backup/franklin-devs-phpbbhub,balcom/gitorious,ericbutters/eric-gitorious,Gitorious-backup/yousource-features,spencerwp/mainline,Gitorious-backup/mainline,feniix/gitorious,water/mainline,cynipe/gitorious,altrair/gitorious-openstack,Gitorious-backup/yousource,Gitorious-backup/vsr-mainline,Gitorious-backup/yousource-features,Gitorious-backup/vsr-mainline,elcom/gitorious,water/mainline,deld/gitorious,gitorious/mainline,Gitorious-backup/vsr-mainline,gnufied/gitorious,spencerwp/mainline,SamuelMoraesF/Gitorious,njall/wel-gitorious,spencerwp/mainline,Gitorious-backup/base_uri-fixes,Gitorious-backup/yousource,rae/gitorious-mainline,water/mainline,Gitorious-backup/yousource-features,adg29/asi.gitorious,grjones/gitorious-submodule-dependencies,cynipe/gitorious,grjones/gitorious-submodule-dependencies,Gitorious-backup/yousource,ericbutters/eric-gitorious,victori/gitorious-jruby,altrair/gitorious-openstack,grjones/gitorious-submodule-dependencies,adg29/asi.gitorious,feniix/gitorious,Gitorious-backup/franklin-devs-phpbbhub,Gitorious-backup/mainline,crazycode/gitorious,cynipe/gitorious,crazycode/gitorious,gitorious/mainline,gnufied/gitorious,altrair/gitorious-openstack,Gitorious-backup/franklin-devs-phpbbhub,balcom/gitorious,gitorious/mainline,gitorious/mainline,elcom/gitorious,tigefa4u/gitorious-mainline