Files
metasploit-gs/spec/support/shared/examples/msf/module/ranking.rb
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
398 B
Ruby
Raw Normal View History

2015-12-31 16:56:13 -06:00
RSpec.shared_examples_for 'Msf::Module::Ranking' do
2014-10-16 14:41:59 -05:00
it { is_expected.to respond_to :rank }
it { is_expected.to respond_to :rank_to_h }
it { is_expected.to respond_to :rank_to_s }
context 'class' do
subject {
described_class
}
it { is_expected.to respond_to :rank }
it { is_expected.to respond_to :rank_to_h }
it { is_expected.to respond_to :rank_to_s }
end
end