Sha256: ab7d2378245855e292fade9716e8225dacb7908296172a53951d0a331c0cdbae

Contents?: true

Size: 587 Bytes

Versions: 2

Compression:

Stored size: 587 Bytes

Contents

require 'spec_helper'

# Unit tests for Bandwidth::Bxml::PauseRecording
describe 'Bandwidth::Bxml::PauseRecording' do
  let(:instance) { Bandwidth::Bxml::PauseRecording.new }

  describe 'test an instance of PauseRecording' do
    it 'validates instance of PauseRecording' do
      expect(instance).to be_instance_of(Bandwidth::Bxml::PauseRecording)
      expect(instance).to be_a(Bandwidth::Bxml::Verb)
    end

    it 'tests the to_bxml method of the PauseRecording instance' do
      expected = "\n<PauseRecording/>\n"
      expect(instance.to_bxml).to eq(expected)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bandwidth-sdk-11.0.0.pre.beta.1.1 spec/unit/models/bxml/verbs/pause_recording_spec.rb
bandwidth-sdk-11.0.0.pre.beta.1 spec/unit/models/bxml/verbs/pause_recording_spec.rb