Sha256: 8a3b216353491b8496a44e903209d64059c19476fec352bbefed872a65d738a3

Contents?: true

Size: 434 Bytes

Versions: 3

Compression:

Stored size: 434 Bytes

Contents

require 'spec_helper'

describe CrewCheck::TeamList, vcr: true do
  let(:github_token) { ENV['GITHUB_TOKEN'] }

  it 'fetches a list of teams' do
    list = CrewCheck::TeamList.fetch(github_token)
    expect(list).to_not be_empty
  end

  it 'has a list of shorthand names' do
    list = CrewCheck::TeamList.fetch(github_token)
    expect(list.shorthand_names).to_not be_nil
    expect(list.shorthand_names).to_not be_empty
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
omniauth-crew-check-0.0.4 spec/unit/crew_check/team_list_spec.rb
omniauth-crew-check-0.0.3 spec/unit/crew_check/team_list_spec.rb
omniauth-crew-check-0.0.2 spec/unit/crew_check/team_list_spec.rb