Sha256: 1652b9b9498706e5da62ff48e95e9b17b58b9c89de7316a57f1c7e5b58981eaa
Contents?: true
Size: 556 Bytes
Versions: 39
Compression:
Stored size: 556 Bytes
Contents
RSpec.describe RubySMB::Field::NtStatus do subject(:nt_status) { described_class.new } it { is_expected.to respond_to :to_nt_status } it 'is a Unsigned 32-bit little endian integer' do expect(nt_status).to be_a BinData::Uint32le end describe '#to_nt_status' do it 'should return a WindowsError::ErrorCode' do expect(nt_status.to_nt_status).to be_a WindowsError::ErrorCode end it 'should return the correct ErrorCode' do expect(nt_status.to_nt_status).to eq WindowsError::NTStatus::STATUS_SUCCESS end end end
Version data entries
39 entries across 39 versions & 1 rubygems