Sha256: 64d2f6c468972fcf9da1bc47d2906cde5c7cbcf2fd3acfa604448215b5dfa24b
Contents?: true
Size: 524 Bytes
Versions: 2
Compression:
Stored size: 524 Bytes
Contents
require 'spec_helper' # Unit tests for Bandwidth::Bxml::Tag describe 'Bandwidth::Bxml::Tag' do let(:instance) { Bandwidth::Bxml::Tag.new('test_tag') } describe 'test an instance of Tag' do it 'validates instance of Tag' do expect(instance).to be_instance_of(Bandwidth::Bxml::Tag) expect(instance).to be_a(Bandwidth::Bxml::Verb) end it 'tests the to_bxml method of the Tag instance' do expected = "\n<Tag>test_tag</Tag>\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/tag_spec.rb |
bandwidth-sdk-11.0.0.pre.beta.1 | spec/unit/models/bxml/verbs/tag_spec.rb |