Sha256: d4f4948e967d3236bac9ddbb16980e03bece380036e31c063802ce71f7b84d14
Contents?: true
Size: 615 Bytes
Versions: 27
Compression:
Stored size: 615 Bytes
Contents
require 'spec_helper' RSpec.describe RubySMB::Fscc::FileInformation::FileModeInformation 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_MODE_INFORMATION end subject(:struct) { described_class.new } it { should respond_to :flags } it 'is little endian' do expect(described_class.fields.instance_variable_get(:@hints)[:endian]).to eq :little end it 'tracks the flags in a struct field' do expect(struct.flags).to be_a BinData::Struct end end
Version data entries
27 entries across 27 versions & 1 rubygems