Sha256: ef92b0321d7191baf067710a4425a446b3706e21deff9a40ebb7835c6e8b60f5
Contents?: true
Size: 529 Bytes
Versions: 2
Compression:
Stored size: 529 Bytes
Contents
require 'spec_helper' require 'ronin/exploits/stack_overflow' describe Ronin::Exploits::StackOverflow do it "must inherit from Ronin::Exploits::MemoryCorruption" do expect(described_class).to be < Ronin::Exploits::MemoryCorruption end it "must include Ronin::Exploits::Mixins::StackOverflow" do expect(described_class).to include(Ronin::Exploits::Mixins::StackOverflow) end describe ".exploit_type" do subject { described_class } it { expect(subject.exploit_type).to eq(:stack_overflow) } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ronin-exploits-1.0.0.beta2 | spec/stack_overflow_spec.rb |
ronin-exploits-1.0.0.beta1 | spec/stack_overflow_spec.rb |