Sha256: aed182059aaac43579ea7bfcd2762ed208c2e3561754e9441ffe21b02a8e78df
Contents?: true
Size: 725 Bytes
Versions: 2
Compression:
Stored size: 725 Bytes
Contents
# frozen_string_literal: true RSpec.describe RatingChgkV2::Rest::TournamentSynchRequests do let(:id) { 1000 } specify '#tournament_synch_requests' do req = VCR.use_cassette('tournament_synch_requests/tournament_synch_request') do test_client.tournament_synch_request id end expect(req.id).to eq(id) expect(req.status).to eq('A') expect(req.venue['name']).to eq('Павлодар') expect(req.representative['name']).to eq('Айбек') expect(req.narrators.first['surname']).to eq('Логвиненко') expect(req.approximateTeamsCount).to be_nil expect(req.issuedAt).to eq('2012-09-21T10:30:14+04:00') expect(req.tournamentId).to eq(2180) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rating-chgk-v2-1.0.0 | spec/lib/rating_chgk_v2/rest/tournament_synch_requests_spec.rb |
rating-chgk-v2-1.0.0.rc1 | spec/lib/rating_chgk_v2/rest/tournament_synch_requests_spec.rb |