Sha256: 951c80ac51b5d4574283836d8e5144f9a327e0bdaa0b4d0b39b1a7ca5ccc711f

Contents?: true

Size: 439 Bytes

Versions: 31

Compression:

Stored size: 439 Bytes

Contents

require 'spec_helper'

describe Metasploit::Model::Authority::Osvdb do
  context 'designation_url' do
    subject(:designation_url) do
      described_class.designation_url(designation)
    end

    let(:designation) do
      FactoryGirl.generate :metasploit_model_reference_osvdb_designation
    end

    it 'should be under advisories directory' do
      designation_url.should == "http://www.osvdb.org/#{designation}/"
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
metasploit-model-0.25.3 spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.25.3-java spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.25.2 spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.25.2-java spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.25.1 spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.25.1-java spec/lib/metasploit/model/authority/osvdb_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/authority/osvdb_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/authority/osvdb_spec.rb
metasploit-model-0.24.1-java spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.24.1 spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.24.1.pre.semantic.pre.versioning.pre.2.pre.0 spec/lib/metasploit/model/authority/osvdb_spec.rb