require 'ronin/exploits/exploitable' require 'spec_helper' describe Exploits::Exploitable do before(:all) do class Vulnerable include Exploits::Exploitable has_exploits :test do |obj| [Exploits::Exploit.new(:name => :first_generated)] end has_exploits :test_two do |obj| [Exploits::BinaryExploit.new(:name => :second_generated)] end end end end