Sha256: d4e5086c340a33d39b4baacee32808ab1f6d48225d9b4912064be0880e6b902e

Contents?: true

Size: 534 Bytes

Versions: 31

Compression:

Stored size: 534 Bytes

Contents

shared_examples_for 'Metasploit::Model::Module::Handler' do
  it { should be_a Module }

  context 'general_handler_type' do
    subject(:general_handler_type) do
      handler_module.general_handler_type
    end

    it 'should be in Metasploit::Model::Module::Handler::GENERAL_TYPES' do
      general_handler_type.should be_in Metasploit::Model::Module::Handler::GENERAL_TYPES
    end
  end

  context 'handler_type' do
    subject(:handler_type) do
      handler_module.handler_type
    end

    it { should be_a String }
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
metasploit-model-0.28.0 spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.28.0-java spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.28.0.pre.engine.pre.requires spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.27.4 spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.27.4-java spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.27.3 spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.27.3-java spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.27.2 spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.27.2-java spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.27.1 spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.27.1-java spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.27.0 spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.27.0-java spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.27.0.pre.dep.pre.railties spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.26.1-java spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.26.1 spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.25.7 spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.25.7-java spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.25.6 spec/support/shared/examples/metasploit/model/module/handler.rb
metasploit-model-0.25.6-java spec/support/shared/examples/metasploit/model/module/handler.rb