Sha256: c3348f145815627ab100526ecde83ee170c50c764092655d9913f7f3366c0a5a

Contents?: true

Size: 398 Bytes

Versions: 6

Compression:

Stored size: 398 Bytes

Contents

require 'ronin/vuln/behavior'
require 'spec_helper'

describe Vuln::Behavior do
  it "should require name and description attributes" do
    behavior = Vuln::Behavior.new
    behavior.should_not be_valid

    behavior.name = 'arbitrary lol injection'
    behavior.should_not be_valid

    behavior.description = %{Allows for the arbitrary injection of lolz.}
    behavior.should be_valid
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ronin-exploits-0.3.1 spec/vuln/behavior_spec.rb
ronin-exploits-0.3.0 spec/vuln/behavior_spec.rb
ronin-exploits-0.2.1 spec/vuln/behavior_spec.rb
ronin-exploits-0.1.1 spec/vuln/behavior_spec.rb
ronin-exploits-0.1.0 spec/vuln/behavior_spec.rb
ronin-exploits-0.2.0 spec/vuln/behavior_spec.rb