Sha256: 82caa8a567096b813bac35653d93ad95b065f142ab8169f04ccb282fe225ebe2

Contents?: true

Size: 1.44 KB

Versions: 30

Compression:

Stored size: 1.44 KB

Contents

RSpec.describe RubySMB::Dcerpc::Winreg::Regsam do
  subject(:packet) { described_class.new }

  it { is_expected.to respond_to :reserved }
  it { is_expected.to respond_to :key_create_link }
  it { is_expected.to respond_to :key_notify }
  it { is_expected.to respond_to :key_enumerate_sub_keys }
  it { is_expected.to respond_to :key_create_sub_key }
  it { is_expected.to respond_to :key_set_value }
  it { is_expected.to respond_to :key_query_value }
  it { is_expected.to respond_to :reserved2 }
  it { is_expected.to respond_to :key_wow64_32key }
  it { is_expected.to respond_to :key_wow64_64key }
  it { is_expected.to respond_to :reserved3 }
  it { is_expected.to respond_to :synchronize }
  it { is_expected.to respond_to :write_owner }
  it { is_expected.to respond_to :write_dac }
  it { is_expected.to respond_to :read_control }
  it { is_expected.to respond_to :delete_access }
  it { is_expected.to respond_to :generic_read }
  it { is_expected.to respond_to :generic_write }
  it { is_expected.to respond_to :generic_execute }
  it { is_expected.to respond_to :generic_all }
  it { is_expected.to respond_to :reserved4 }
  it { is_expected.to respond_to :maximum_allowed }
  it { is_expected.to respond_to :system_security }


  it 'is little endian' do
    expect(described_class.fields.instance_variable_get(:@hints)[:endian]).to eq :little
  end

  it 'it is a Ndr::NdrStruct' do
    expect(described_class).to be < RubySMB::Dcerpc::Ndr::NdrStruct
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
ruby_smb-3.3.12 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.3.11 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.3.10 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.3.9 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.3.7 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.3.6 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.3.5 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.3.4 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.3.3 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.3.2 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.3.1 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.3.0 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.2.8 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.2.7 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.2.6 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.2.5 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.2.4 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.2.3 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.2.2 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
ruby_smb-3.2.1 spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb