Sha256: 57d1e960fbae645f251688f45a8a9adc91ce88d1a90359307749aee872ca7e59

Contents?: true

Size: 215 Bytes

Versions: 4

Compression:

Stored size: 215 Bytes

Contents

require 'rspec'

shared_examples_for "CPE" do
  subject { super().cpe }

  it { is_expected.not_to be_empty }

  it "should contain CPE URLs" do
    expect(subject).to all(be_kind_of(Nmap::XML::CPE::URL))
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-nmap-1.0.3 spec/xml/cpe_examples.rb
ruby-nmap-1.0.2 spec/xml/cpe_examples.rb
ruby-nmap-1.0.1 spec/xml/cpe_examples.rb
ruby-nmap-1.0.0 spec/xml/cpe_examples.rb