Sha256: 2a93f8447f7bf9e244495c2a053fc8035e860700254fb61741ecc7fd13064540

Contents?: true

Size: 376 Bytes

Versions: 2

Compression:

Stored size: 376 Bytes

Contents

# -*- encoding: utf-8 -*-
require 'helper'

describe Octokit do
  after do
    Octokit.reset
  end

  describe ".respond_to?" do
    it "should be true if method exists" do
      Octokit.respond_to?(:client, true).should be_true
    end
  end

  describe ".client" do
    it "should be a Octokit::Client" do
      Octokit.client.should be_a Octokit::Client
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
octokit-0.6.3 spec/octokit_spec.rb
octokit-0.6.2 spec/octokit_spec.rb