Sha256: 5a0c6c776bc6c9950dcd22c5aa778ebd3bc7188e7fbbf72efde68d27decb563f

Contents?: true

Size: 453 Bytes

Versions: 31

Compression:

Stored size: 453 Bytes

Contents

require 'spec_helper'

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

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

    it 'should be under advisories directory' do
      designation_url.should == "https://secunia.com/advisories/#{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/secunia_spec.rb
metasploit-model-0.28.0-java spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.28.0.pre.engine.pre.requires spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.27.4 spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.27.4-java spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.27.3 spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.27.3-java spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.27.2 spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.27.2-java spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.27.1 spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.27.1-java spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.27.0 spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.27.0-java spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.27.0.pre.dep.pre.railties spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.26.1-java spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.26.1 spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.25.7 spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.25.7-java spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.25.6 spec/lib/metasploit/model/authority/secunia_spec.rb
metasploit-model-0.25.6-java spec/lib/metasploit/model/authority/secunia_spec.rb