File: blob_spec.rb

package info (click to toggle)
ruby-ntlm 0.6.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 408 kB
  • sloc: ruby: 2,663; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 756 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'spec_helper'

describe Net::NTLM::Blob do

  fields = [
      { :name => :blob_signature, :class => Net::NTLM::Int32LE, :value => 257, :active => true },
      { :name => :reserved, :class => Net::NTLM::Int32LE, :value => 0, :active => true },
      { :name => :timestamp, :class => Net::NTLM::Int64LE, :value => 0, :active => true },
      { :name => :challenge, :class => Net::NTLM::String, :value => '', :active => true },
      { :name => :unknown1, :class => Net::NTLM::Int32LE, :value => 0, :active => true },
      { :name => :target_info, :class => Net::NTLM::String, :value => '', :active => true },
      { :name => :unknown2, :class => Net::NTLM::Int32LE, :value => 0, :active => true },
  ]

  it_behaves_like 'a fieldset', fields
end