Sha256: b6403950a0b7520d0ca1bbd7124e283b6aa0fd8737d3d7a09fbb45e0fc0929f4

Contents?: true

Size: 531 Bytes

Versions: 1

Compression:

Stored size: 531 Bytes

Contents

require 'ronin/platform/platform'

require 'platform/helpers/overlays'
require 'spec_helper'

describe Platform do
  before(:all) do
    Platform.load_overlays(overlay_cache_path)
  end

  it "should be able to load custom overlay caches" do
    Platform.overlays.should_not be_empty
  end

  it "should have specific extensions" do
    Platform.has_extension?('test').should == true
  end

  it "should provide the names of all available extensions" do
    Platform.extension_names.should == ['hello', 'random', 'test']
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ronin-0.3.0 spec/platform/platform_spec.rb