Sha256: e1fac6cfa6566a0bd4bcc69a7c25b324e030509d181ba52d3b7e775ac40cb696
Contents?: true
Size: 525 Bytes
Versions: 7
Compression:
Stored size: 525 Bytes
Contents
# Unit tests for Bandwidth::Bxml::Bxml describe 'Bandwidth::Bxml::Bxml' do let(:instance) { Bandwidth::Bxml::Bxml.new } describe 'test an instance of Bxml' do it 'validates instance of Bxml' do expect(instance).to be_instance_of(Bandwidth::Bxml::Bxml) expect(instance).to be_a(Bandwidth::Bxml::Root) end it 'test the to_bxml method of the Bxml instance' do expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bxml/>\n" expect(instance.to_bxml).to eq(expected) end end end
Version data entries
7 entries across 7 versions & 1 rubygems