lib/ronin/exploits/requirement.rb in ronin-exploits-0.1.0 vs lib/ronin/exploits/requirement.rb in ronin-exploits-0.1.1
- old
+ new
@@ -19,11 +19,11 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#++
#
-require 'ronin/vulnerability/behavior'
+require 'ronin/vuln/behavior'
require 'ronin/exploits/exploit'
require 'ronin/model'
module Ronin
@@ -31,10 +31,10 @@
class Requirement
include Model
# The behavior which is required
- belongs_to :behavior, :class_name => 'Vulnerability::Behavior'
+ belongs_to :behavior, :class_name => 'Vuln::Behavior'
# The exploit which requires the behavior
belongs_to :exploit
# Validates