Sha256: 3ff5dfabb26f4eca082704d2af01a3323b8109dd84efac1d36ad759cb5a3a17c
Contents?: true
Size: 489 Bytes
Versions: 14
Compression:
Stored size: 489 Bytes
Contents
# Unit tests for Bandwidth::CallStateEnum describe Bandwidth::CallStateEnum do let(:instance) { Bandwidth::CallStateEnum.new } describe 'test an instance of CallStateEnum' do it 'creates an instance of CallStateEnum' do expect(instance).to be_instance_of(Bandwidth::CallStateEnum) end it 'raises an error for an invalid enum value' do expect { Bandwidth::CallStateEnum.build_from_hash('invalid') }.to raise_error(RuntimeError) end end end
Version data entries
14 entries across 14 versions & 1 rubygems