mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-10-29 18:07:27 +01:00
Fix nonsensical spec.
This commit is contained in:
parent
2bd7a67413
commit
99b87c2e97
@ -99,9 +99,9 @@ describe Msf::Author do
|
||||
end
|
||||
end
|
||||
|
||||
context 'when given a name/email combination that is in KNOWN' do
|
||||
context 'when given a name that is in KNOWN' do
|
||||
let(:name) { described_class::KNOWN.keys.sample }
|
||||
let(:email) { described_class::KNOWN[name] }
|
||||
let(:email) { 'blargulsberg' }
|
||||
|
||||
describe '#name' do
|
||||
it 'is set to the "name" parameter' do
|
||||
@ -110,8 +110,8 @@ describe Msf::Author do
|
||||
end
|
||||
|
||||
describe '#email' do
|
||||
it 'is set to the email listed in KNOWN' do
|
||||
expect(subject.email).to eq(described_class::KNOWN[name])
|
||||
it 'is set to the "email" parameter' do
|
||||
expect(subject.email).to eq(email)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user