Sha256: bfb26993d2fabeaccbecbb8336f3e1fafdff2445d0a621d2bc199128faef41d7
Contents?: true
Size: 412 Bytes
Versions: 28
Compression:
Stored size: 412 Bytes
Contents
require 'spec_helper' RSpec.describe RubySMB::Fscc::FileSystemInformation do describe '#name' do it 'maps constant names to their value' do expect(described_class.name(RubySMB::Fscc::FileSystemInformation::FILE_FS_VOLUME_INFORMATION)).to eq :FILE_FS_VOLUME_INFORMATION end it 'returns nil for values that do not exist' do expect(described_class.name(-1)).to be_nil end end end
Version data entries
28 entries across 28 versions & 1 rubygems