RSpec.describe Metasploit::Cache::Authority::UsCertVu do
  context 'designation_url' do
    subject(:designation_url) do
      described_class.designation_url(designation)
    end

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

    it 'should be under bid directory' do
      expect(designation_url).to eq("http://www.kb.cert.org/vuls/id/#{designation}")
    end
  end
end