Sha256: d5b6d2eeab313e701dad0ddd5ab86a1a59682f6b9ec6b4b65c480a7fb33cec41
Contents?: true
Size: 566 Bytes
Versions: 31
Compression:
Stored size: 566 Bytes
Contents
require 'spec_helper' describe Metasploit::Model::Authority::Zdi do context 'designation_url' do subject(:designation_url) do described_class.designation_url(designation) end let(:designation) do FactoryGirl.generate :metasploit_model_reference_zdi_designation end it 'should be under advisories directory' do expect(designation_url).to match_regex(/advisories\/.*#{designation}/) end it "should prefix designation with 'ZDI'" do expect(designation_url).to match_regex(/ZDI-#{designation}/) end end end
Version data entries
31 entries across 31 versions & 1 rubygems