Sha256: b92ddf02947f276d2dd939eb9cd80bc5705f99f20561f2c0fb7edaf7a8e489cb

Contents?: true

Size: 594 Bytes

Versions: 2

Compression:

Stored size: 594 Bytes

Contents

require 'spec_helper'

describe Citrix::Training::Client do
  describe '.build' do
    it 'returns client' do
      client = Citrix::Training::Client.build({})
      expect(client).to be_a(Citrix::Training::Client)
    end

    it 'sets credentials' do
      client = Citrix::Training::Client.build({})
      expect(client.credentials).to be_a(Citrix::Training::Credentials)
    end
  end

  describe '#trainings' do
    it 'returns namespace' do
      client = Citrix::Training::Client.build({})
      expect(client.trainings).to be_a(Citrix::Training::Namespace::Trainings)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
citrix-0.2.0 spec/citrix/training/client_spec.rb
citrix-0.1.0 spec/citrix/training/client_spec.rb