spec/lib/net/ntlm/blob_spec.rb in rubyntlm-0.6.1 vs spec/lib/net/ntlm/blob_spec.rb in rubyntlm-0.6.2

- old
+ new

@@ -1,16 +1,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 +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