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.28.0 spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.28.0-java spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.28.0.pre.engine.pre.requires spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.27.4 spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.27.4-java spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.27.3 spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.27.3-java spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.27.2 spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.27.2-java spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.27.1 spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.27.1-java spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.27.0 spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.27.0-java spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.27.0.pre.dep.pre.railties spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.26.1-java spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.26.1 spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.25.7 spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.25.7-java spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.25.6 spec/lib/metasploit/model/authority/osvdb_spec.rb
metasploit-model-0.25.6-java spec/lib/metasploit/model/authority/osvdb_spec.rb