Sha256: ade1e6d5b7eb0925abc990ef9b827906d53402dff430f545d4eb0fe52d1df8e9

Contents?: true

Size: 636 Bytes

Versions: 2

Compression:

Stored size: 636 Bytes

Contents

require 'spec_helper'
require 'ronin/exploits/memory_corruption'

describe Ronin::Exploits::MemoryCorruption do
  it "must inherit from Ronin::Exploits::Exploit" do
    expect(described_class).to be < Ronin::Exploits::Exploit
  end

  it "must include Ronin::Exploits::Metadata::Arch" do
    expect(described_class).to include(Ronin::Exploits::Metadata::Arch)
  end

  it "must include Ronin::Exploits::Metadata::OS" do
    expect(described_class).to include(Ronin::Exploits::Metadata::OS)
  end

  describe ".exploit_type" do
    subject { described_class }

    it { expect(subject.exploit_type).to eq(:memory_corruption) }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ronin-exploits-1.0.0.beta2 spec/memory_corruption_spec.rb
ronin-exploits-1.0.0.beta1 spec/memory_corruption_spec.rb