Sha256: 4d17db5069d2d41dc6828085584722eba12cea3a0f397f836c4c217dfbc2263c
Contents?: true
Size: 574 Bytes
Versions: 11
Compression:
Stored size: 574 Bytes
Contents
require 'spec_helper' describe name_from_filename do include_examples 'check' def self.elements [ Element::Body, Element::Header ] end def issue_count 2 end easy_test( false ) do header_issue = issues.select { |i| i.vector.class == Element::Header }.first expect(header_issue.vector.name).to eq 'Disclosure' expect(header_issue.proof).to eq '192.168.1.121' body_issue = issues.select { |i| i.vector.class == Element::Body }.first expect(body_issue.proof).to eq '192.168.1.12' end end
Version data entries
11 entries across 11 versions & 1 rubygems