Sha256: 9aa58dabada95b9984a8dd064dd83e1f98346a75531c8de6cb0ef7b9242f690c
Contents?: true
Size: 631 Bytes
Versions: 27
Compression:
Stored size: 631 Bytes
Contents
require 'spec_helper' RSpec.describe RubySMB::Fscc::FileInformation::FileInternalInformation do it 'references the correct class level' do expect(described_class).to be_const_defined(:CLASS_LEVEL) expect(described_class::CLASS_LEVEL).to be RubySMB::Fscc::FileInformation::FILE_INTERNAL_INFORMATION end subject(:struct) { described_class.new } it { should respond_to :file_id } it 'is little endian' do expect(described_class.fields.instance_variable_get(:@hints)[:endian]).to eq :little end it 'tracks the file ID in a Uint64 field' do expect(struct.file_id).to be_a BinData::Uint64le end end
Version data entries
27 entries across 27 versions & 1 rubygems