Sha256: b166f177e67dbc2d1c911fff4b25253a7c3dfb29f34e27db1b44f751affa82ec
Contents?: true
Size: 589 Bytes
Versions: 3
Compression:
Stored size: 589 Bytes
Contents
require 'ronin/platform' require 'helpers/database' describe Platform do it "should require os and version attributes" do @platform = Platform.new @platform.should_not be_valid @platform.os = 'test' @platform.should_not be_valid @platform.version = '0.0.1' @platform.should be_valid end it "should provide methods for creating platforms for built-in OSes" do Platform.linux.should_not be_nil end it "should provide methods for creating platforms for built-in OSes with versions" do Platform.linux_version('2.6.11').should be_valid end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ronin-0.1.2 | spec/platform_spec.rb |
ronin-0.1.4 | spec/platform_spec.rb |
ronin-0.1.3 | spec/platform_spec.rb |