Sha256: b159f834a0770c9d87668a3e60390076bea5ffdc75d31bc86ec4fdadcb8fad7c
Contents?: true
Size: 1.2 KB
Versions: 4
Compression:
Stored size: 1.2 KB
Contents
require 'spec_helper' describe Github::Client do let(:github) { Github.new } it "should return Github::Gists instance" do github.gists.should be_a Github::Gists end it "should return Github::GitData instance" do github.git_data.should be_a Github::GitData end it "should return Github::Issues instance" do github.issues.should be_a Github::Issues end it "should return Github::Orgs instance" do github.orgs.should be_a Github::Orgs end it "should return Github::PullRequests instance" do github.pull_requests.should be_a Github::PullRequests end it "should return Github::Repos instance" do github.repos.should be_a Github::Repos end it "should return Github::Users instance" do github.users.should be_a Github::Users end it "should return Github::Authorizations instance" do github.oauth.should be_a Github::Authorizations end it "should respond to repos" do github.should respond_to :repos end it "should respond to repositories" do github.should respond_to :repositories end it "should respond to git_data" do github.should respond_to :git_data end it "should respond to git" do github.should respond_to :git end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
github_api-0.4.6 | spec/github/client_spec.rb |
github_api-0.4.5 | spec/github/client_spec.rb |
github_api-0.4.4 | spec/github/client_spec.rb |
github_api-0.4.3 | spec/github/client_spec.rb |