Sha256: 8944a6db4caff1d159604016630d1a613ded556e595ac0be200c3bb70e9cdf6b
Contents?: true
Size: 395 Bytes
Versions: 4
Compression:
Stored size: 395 Bytes
Contents
require production_code describe Snmpjr::PduV3 do subject { Snmpjr::PduV3.new 'context' } describe '.new' do it 'assigns scoped context name' do expect(subject.create(['1.3.6']).context_name.to_s).to eq 'context' end end describe '#create' do it 'creates a scoped Pdu' do expect(subject.create ['1.3.6']).to be_a(Snmpjr::Wrappers::ScopedPDU) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
snmpjr-0.3.3-java | spec/snmpjr/pdu_v3_spec.rb |
snmpjr-0.3.2-java | spec/snmpjr/pdu_v3_spec.rb |
snmpjr-0.3.1-java | spec/snmpjr/pdu_v3_spec.rb |
snmpjr-0.3.0-java | spec/snmpjr/pdu_v3_spec.rb |