Sha256: e893bad317b1dd68dda3b0da6186fb1260dbb8e7ff96bab59b7e5b338ab99fcf

Contents?: true

Size: 500 Bytes

Versions: 14

Compression:

Stored size: 500 Bytes

Contents

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

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

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
bandwidth-sdk-13.1.2 spec/unit/models/bxml/verbs/hangup_spec.rb
bandwidth-sdk-13.1.1 spec/unit/models/bxml/verbs/hangup_spec.rb
bandwidth-sdk-13.1.0 spec/unit/models/bxml/verbs/hangup_spec.rb
bandwidth-sdk-13.0.0 spec/unit/models/bxml/verbs/hangup_spec.rb
bandwidth-sdk-12.1.0 spec/unit/models/bxml/verbs/hangup_spec.rb
bandwidth-sdk-11.3.0 spec/models/bxml/verbs/hangup_spec.rb
bandwidth-sdk-11.2.0 spec/models/bxml/verbs/hangup_spec.rb
bandwidth-sdk-11.1.1 spec/models/bxml/verbs/hangup_spec.rb
bandwidth-sdk-11.1.0 spec/models/bxml/verbs/hangup_spec.rb
bandwidth-sdk-11.0.0 spec/models/bxml/verbs/hangup_spec.rb
bandwidth-sdk-11.0.0.pre.beta.4.0 spec/models/bxml/verbs/hangup_spec.rb
bandwidth-sdk-11.0.0.pre.beta.3.1 spec/models/bxml/verbs/hangup_spec.rb
bandwidth-sdk-11.0.0.pre.beta.3.0 spec/models/bxml/verbs/hangup_spec.rb
bandwidth-sdk-11.0.0.pre.beta.2.0 spec/models/bxml/verbs/hangup_spec.rb