2013-04-17 14:26:16 -05:00
|
|
|
# -*- 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
|
2012-11-06 17:38:38 -06:00
|
|
|
|
2013-09-30 13:47:53 -05:00
|
|
|
let(:parent_pathname) do
|
|
|
|
|
root_pathname.join('modules')
|
|
|
|
|
end
|
2012-11-06 17:38:38 -06:00
|
|
|
|
2013-09-30 13:47:53 -05:00
|
|
|
let(:root_pathname) do
|
|
|
|
|
Pathname.new(Msf::Config.install_root)
|
|
|
|
|
end
|
2013-04-17 14:26:16 -05:00
|
|
|
end
|