forked from piotrmurach/github
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient_spec.rb
More file actions
33 lines (18 loc) · 898 Bytes
/
client_spec.rb
File metadata and controls
33 lines (18 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# encoding: utf-8
require 'spec_helper'
describe Github::Client do
let(:object) { described_class }
subject(:client) { object.new }
after { reset_authentication_for client }
it { expect(client.activity).to be_a Github::Client::Activity }
it { expect(client.oauth).to be_a Github::Client::Authorizations }
it { expect(client.gists).to be_a Github::Client::Gists }
it { expect(client.git_data).to be_a Github::Client::GitData }
it { expect(client.issues).to be_a Github::Client::Issues }
it { expect(client.markdown).to be_a Github::Client::Markdown }
it { expect(client.meta).to be_a Github::Client::Meta }
it { expect(client.orgs).to be_a Github::Client::Orgs }
it { expect(client.pull_requests).to be_a Github::Client::PullRequests }
it { expect(client.repos).to be_a Github::Client::Repos }
it { expect(client.users).to be_a Github::Client::Users }
end