Sha256: a665f75f53559692079de1ee193318a7a8525beefd897cf4c7569c8264b44392

Contents?: true

Size: 378 Bytes

Versions: 2

Compression:

Stored size: 378 Bytes

Contents

require 'spec_helper'
require 'ronin/exploits/heap_overflow'

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

  describe ".exploit_type" do
    subject { described_class }

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

Version data entries

2 entries across 2 versions & 1 rubygems

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