Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'spec_helper'
- require 'webmock/rspec'
- describe Tps::CtxConferencesService do
- let(:conference) { nil }
- subject { Tps::CtxParticipantCdrService.new(conference) }
- VCR.configure do |c|
- c.cassette_library_dir = 'fixtures/vcr_cassettes/telepresence'
- c.hook_into :webmock
- end
- context '#create_tps_participants_history' do
- let(:conference) do
- FactoryGirl.create :tps_portal_conference, tps_meeting_id: '97860364'
- end
- it 'Сохранение истории tps участников конференци' do
- VCR.use_cassette('ctx/cdr/create_tps_participant_cdrs') do
- expect { subject.create_tps_participants_history }.not_to raise_error
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement