spec/adhearsion/twilio/record_spec.rb
# The <Record> verb records the caller's voice and returns to you the URL of a file containing
# the audio recording. You can optionally generate text transcriptions of recorded calls
# by setting the 'transcribe' attribute of the <Record> verb to 'true'.
The  verb records the caller's voice and returns to you the URL of a file containing
the audio recording. You can optionally generate text transcriptions of recorded calls
by setting the 'transcribe' attribute of the  verb to 'true'.
The verb records the caller ' s voice and returns to you the URL of a file containing the audio recording . You can optionally generate text transcriptions of recorded calls by setting the ' transcribe ' attribute of the verb to ' true ' .
def assert_verb!
      super
      expect(Adhearsion::Twilio::Event::RecordingStarted).to receive(:new).with(call_id, hash_including(asserted_event_params))
      expect(Adhearsion::Twilio::RestApi::PhoneCallEvent).to receive(:new).with(hash_including(event: recording_started_event))
      expect(rest_api_phone_call_event).to receive(:notify!)
    end
def assert_verb! super expect ( Adhearsion :: Twilio :: Event :: RecordingStarted ) . to receive ( :new ) . with ( call_id , hash_including ( asserted_event_params ) ) expect ( Adhearsion :: Twilio :: RestApi :: PhoneCallEvent ) . to receive ( :new ) . with ( hash_including ( event : recording_started_event ) ) expect ( rest_api_phone_call_event ) . to receive ( :notify! ) end
The <Record> verb records the caller's voice and returns to you the URL of a file containing
the audio recording.
The <Record > verb records the caller ' s voice and returns to you the URL of a file containing the audio recording .