Sha256: 6bf8c65c70cb744b71ccc8cadcf34b27543b04c986c31eb8d4fe8ca5a551e34e
Contents?: true
Size: 501 Bytes
Versions: 14
Compression:
Stored size: 501 Bytes
Contents
# 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
14 entries across 14 versions & 1 rubygems