Sha256: 130a6efd7db1868224ac1867231e596051fa79b1c1376ca70f882a58e560d551

Contents?: true

Size: 321 Bytes

Versions: 3

Compression:

Stored size: 321 Bytes

Contents

require 'ronin/target'

require 'helpers/database'

describe Target do
  it "should require an arch and a platform" do
    @target = Target.new
    @target.should_not be_valid

    @target.arch = Arch.i386
    @target.should_not be_valid

    @target.os = OS.linux_version('2.6.11')
    @target.should be_valid
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ronin-0.2.0 spec/target_spec.rb
ronin-0.2.2 spec/target_spec.rb
ronin-0.2.1 spec/target_spec.rb