Files
metasploit-gs/spec/support/shared/contexts/msf/modules/loader_base.rb
T

15 lines
278 B
Ruby
Raw Normal View History

# -*- coding:binary -*-
2015-10-20 09:54:02 -05:00
RSpec.shared_context "Msf::Modules::Loader::Base" do
2013-09-30 13:47:53 -05:00
let(:parent_path) do
parent_pathname.to_s
end
2013-09-30 13:47:53 -05:00
let(:parent_pathname) do
root_pathname.join('modules')
end
2013-09-30 13:47:53 -05:00
let(:root_pathname) do
Pathname.new(Msf::Config.install_root)
end
end