Skip to content

Commit 8d52bc6

Browse files
committed
Added specs for the same.
1 parent 6bc99b0 commit 8d52bc6

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

spec/fixtures/repos/repo.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"id": 1296269,
23
"url": "https://api.github.com/repos/octocat/Hello-World",
34
"html_url": "https://github.com/octocat/Hello-World",
45
"clone_url": "https://github.com/octocat/Hello-World.git",

spec/github/client/repos/get_by_id_spec.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
require 'spec_helper'
44

55
describe Github::Client::Repos, '#get_by_id' do
6-
let(:user) { 'peter-murach' }
7-
let(:repo) { 'github' }
8-
let(:repo_id) { '2456210' }
6+
let(:repo_id) { 1296269 }
97
let(:request_path) { "/repositories/#{repo_id}" }
108

119
before {

0 commit comments

Comments
 (0)