generate_github_url spec helper