Sha256: c38e4baf0bbd28a90542eee0a4a3a2bd50b0afd641b6ea0dfc8b46e6df938128

Contents?: true

Size: 349 Bytes

Versions: 11

Compression:

Stored size: 349 Bytes

Contents

require 'helper'

describe Octokit::Client::Meta do

  describe ".github_meta", :vcr do
    it "returns meta information about github" do
      client = oauth_client
      github_meta = client.github_meta
      expect(github_meta.git).to include "207.97.227.239/32"
      assert_requested :get, github_url("/meta")
    end
  end # .github_meta

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
octokit-2.3.0 spec/octokit/client/meta_spec.rb
octokit-2.2.0 spec/octokit/client/meta_spec.rb
octokit-2.1.2 spec/octokit/client/meta_spec.rb
octokit-2.1.1 spec/octokit/client/meta_spec.rb
octokit-2.1.0 spec/octokit/client/meta_spec.rb
octokit-2.0.0 spec/octokit/client/meta_spec.rb
octokit-2.0.0.rc4 spec/octokit/client/meta_spec.rb
octokit-2.0.0.rc3 spec/octokit/client/meta_spec.rb
octokit-2.0.0.rc2 spec/octokit/client/meta_spec.rb
octokit-2.0.0.rc1 spec/octokit/client/meta_spec.rb
octokit-2.0.0.pre spec/octokit/client/meta_spec.rb