Sha256: 65bc1ac3e5419eab91bc5b53bc9c045796ac20374197273520abd8f2b3cfc685

Contents?: true

Size: 723 Bytes

Versions: 2

Compression:

Stored size: 723 Bytes

Contents

# frozen_string_literal: true

RSpec.describe RatingChgkV2::Rest::TournamentSynchControversials do
  let(:id) { 1000 }

  specify '#tournament_synch_controversial' do
    contr = VCR.use_cassette('tournament_synch_controversial/tournament_synch_controversia') do
      test_client.tournament_synch_controversial id
    end

    expect(contr.id).to eq(id)
    expect(contr.questionNumber).to eq(26)
    expect(contr.answer).to eq('валяться')
    expect(contr.issuedAt).to eq('2012-01-31T09:26:32+04:00')
    expect(contr.status).to eq('D')
    expect(contr.comment).to eq('')
    expect(contr.resolvedAt).to eq('2012-01-31T15:26:32+04:00')
    expect(contr.appealJuryComment).to be_nil
  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_controversials_spec.rb
rating-chgk-v2-1.0.0.rc1 spec/lib/rating_chgk_v2/rest/tournament_synch_controversials_spec.rb