Sha256: 396ef9b6fe45b985865e8f82024e0c11f47faa86e830b9ee40334e87661daf8f
Contents?: true
Size: 429 Bytes
Versions: 1
Compression:
Stored size: 429 Bytes
Contents
RSpec.describe ChgkRating::Collections::TournamentTeamResults do subject do VCR.use_cassette 'team_results_at_tournament' do described_class.new(tournament: 3506, team: 52853) end end it_behaves_like 'tournament team result' do let(:team_result) { subject[0] } end it_behaves_like 'not a hash' it_behaves_like 'an array' specify '#to_a' do expect(subject.to_a[2]['tour']).to eq '3' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
chgk_rating-1.0.0.rc1 | spec/lib/chgk_rating/collections/tournament_team_results_spec.rb |