Sha256: ba36c7317f8adf2e6f84fa973e4132c0966fe1c1179a36d4ad13da856f31e76b
Contents?: true
Size: 400 Bytes
Versions: 27
Compression:
Stored size: 400 Bytes
Contents
require 'spec_helper' RSpec.describe RubySMB::Fscc::FileInformation do describe '#name' do it 'maps constant names to their value' do expect(described_class.name(RubySMB::Fscc::FileInformation::FILE_DIRECTORY_INFORMATION)).to eq :FILE_DIRECTORY_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
27 entries across 27 versions & 1 rubygems