# 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