Sha256: c288908e951f843a45ea1fd3adf29d53c2389d72915819f73a771d7ebac13f06

Contents?: true

Size: 380 Bytes

Versions: 2

Compression:

Stored size: 380 Bytes

Contents

require 'spec_helper'
require 'ronin/exploits/use_after_free'

describe Ronin::Exploits::UseAfterFree 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(:use_after_free) }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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