fix specs for octokit 3.1.0+

Octokit change was made at https://github.com/octokit/octokit.rb/commit/70cf60f2a98afe9248eb346cba75d5580363ec35.