Sha256: 0aaf8a4ef4e5341b479c0b1eb0f6fac3b7d3e1e8d698f1b01a5f48b96eab0ed2

Contents?: true

Size: 594 Bytes

Versions: 31

Compression:

Stored size: 594 Bytes

Contents

require 'spec_helper'

describe Metasploit::Model::Module::Stance do
  context 'CONSTANTS' do
    context 'ALL' do
      subject(:all) do
        described_class::ALL
      end

      it { should include(described_class::AGGRESSIVE) }
      it { should include(described_class::PASSIVE) }
    end

    context 'AGGRESSIVE' do
      subject(:aggressive) do
        described_class::AGGRESSIVE
      end

      it { should == 'aggressive' }
    end

    context 'PASSIVE' do
      subject(:passive) do
        described_class::PASSIVE
      end

      it { should == 'passive' }
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

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