Skip to content

Commit ceeb9bd

Browse files
committed
Styles changes.
1 parent 00c358c commit ceeb9bd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/github_api/repos.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def branch(user_name, repo_name, branch, params={})
162162
#
163163
# = Examples
164164
# github = Github.new
165-
# github.repos.create "name" => 'repo-name'
165+
# github.repos.create "name": 'repo-name'
166166
# "description": "This is your first repo",
167167
# "homepage": "https://github.com",
168168
# "private": false,

spec/github/repos/delete_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
require 'spec_helper'
44

5-
describe Github::Repos do
5+
describe Github::Repos, '#delete' do
66
let(:user) { 'peter-murach' }
77
let(:repo) { 'github' }
88
let(:request_path) { "/repos/#{user}/#{repo}" }

spec/github/repos/get_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
let(:request_path) { "/repos/#{user}/#{repo}" }
99

1010
before {
11-
stub_get(request_path).
12-
to_return(:body => body, :status => status, :headers => {:content_type => "application/json; charset=utf-8"})
11+
stub_get(request_path).to_return(:body => body, :status => status,
12+
:headers => {:content_type => "application/json; charset=utf-8"})
1313
}
1414

1515
after { reset_authentication_for subject }

0 commit comments

Comments
 (0)