Sha256: 88d5766b2a554287cc8030676dde9ae832c8534dbdbe3cc48fc2694649446c5c

Contents?: true

Size: 430 Bytes

Versions: 16

Compression:

Stored size: 430 Bytes

Contents

# Unit tests for Bandwidth::Bxml::Verb
describe 'Bandwidth::Bxml::Verb' do
  let(:instance) { Bandwidth::Bxml::Verb.new('Test') }
  
  describe 'test an instance of Verb' do
    it 'validates instance of Verb' do
      expect(instance).to be_a(Bandwidth::Bxml::Verb)
    end

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

Version data entries

16 entries across 16 versions & 1 rubygems

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