Sha256: ecae3b5203017418f39256d97949f119a1c07a83c0900aaf9aeb64d89f1700f8

Contents?: true

Size: 492 Bytes

Versions: 31

Compression:

Stored size: 492 Bytes

Contents

require 'spec_helper'

describe Metasploit::Model::Reference do
  it_should_behave_like 'Metasploit::Model::Reference',
                        namespace_name: 'Dummy' do
    def attribute_type(attribute)
      type_by_attribute = {
          :designation => :string,
          :url => :text
      }

      type = type_by_attribute.fetch(attribute)

      type
    end

    def authority_with_abbreviation(abbreviation)
      Dummy::Authority.with_abbreviation(abbreviation)
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
metasploit-model-0.25.3 spec/lib/metasploit/model/reference_spec.rb
metasploit-model-0.25.3-java spec/lib/metasploit/model/reference_spec.rb
metasploit-model-0.25.2 spec/lib/metasploit/model/reference_spec.rb
metasploit-model-0.25.2-java spec/lib/metasploit/model/reference_spec.rb
metasploit-model-0.25.1 spec/lib/metasploit/model/reference_spec.rb
metasploit-model-0.25.1-java spec/lib/metasploit/model/reference_spec.rb
metasploit-model-0.25.1.pre.metasploit.pre.model.pre.search.pre.operator.pre.and.pre.operation.pre.groups-java spec/lib/metasploit/model/reference_spec.rb
metasploit-model-0.25.1.pre.metasploit.pre.model.pre.search.pre.operator.pre.and.pre.operation.pre.groups spec/lib/metasploit/model/reference_spec.rb
metasploit-model-0.24.1-java spec/lib/metasploit/model/reference_spec.rb
metasploit-model-0.24.1 spec/lib/metasploit/model/reference_spec.rb
metasploit-model-0.24.1.pre.semantic.pre.versioning.pre.2.pre.0 spec/lib/metasploit/model/reference_spec.rb