Sha256: 7af35747cfa9bede0c928141c63519078f5eee60120075219e230d0f7b4a3b6c

Contents?: true

Size: 635 Bytes

Versions: 1

Compression:

Stored size: 635 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'

describe BitBucket::Client do
  let(:client) { described_class.new }

  it 'returns the a new object of the correct class' do
    expect(client.issues).to be_a BitBucket::Issues
    expect(client.repos).to be_a BitBucket::Repos
    expect(client.users).to be_a BitBucket::Users
    expect(client.user_api).to be_a BitBucket::User
    expect(client.invitations).to be_a BitBucket::Invitations
    expect(client.teams).to be_a BitBucket::Teams
    expect(client.pull_requests).to be_a BitBucket::Repos::PullRequest
    expect(client.oauth).to be_a BitBucket::Request::OAuth
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bitbuckets-0.2.0 spec/bitbucket_rest_api/client_spec.rb