Failing spec for Msf::Framework.new threads
MSP-11605 `Msf::Framework.new` creates 8 threads (change from 1 thread to 9 threads), but it shouldn't create any threads.bug/bundler_fix
parent
2fc6154ce9
commit
cca82f4b36
|
@ -6,6 +6,18 @@ require 'msf/core/framework'
|
|||
describe Msf::Framework do
|
||||
include_context 'Msf::Framework#threads cleaner'
|
||||
|
||||
context '#initialize' do
|
||||
subject(:framework) {
|
||||
described_class.new
|
||||
}
|
||||
|
||||
it 'creates no threads' do
|
||||
expect {
|
||||
framework
|
||||
}.not_to change { Thread.list.count }
|
||||
end
|
||||
end
|
||||
|
||||
describe "#version" do
|
||||
CURRENT_VERSION = "4.10.1-dev"
|
||||
|
||||
|
|
Loading…
Reference in New Issue