Skip to content

Commit 67a3432

Browse files
committed
Fix thread count
1 parent c7e0e09 commit 67a3432

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec/lib/msf/ui/console/command_dispatcher/session_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
RSpec.shared_examples_for 'session command dispatcher' do
2+
include_context 'Msf::Simple::Framework'
3+
include_context 'Msf::Framework#threads cleaner', verify_cleanup_required: false
4+
25
describe '#client' do
36
subject { command_dispatcher.client }
47
it { is_expected.to be(client) }
@@ -28,7 +31,6 @@
2831
end
2932

3033
describe '#cmd_irb' do
31-
let(:framework) { double('framework') }
3234
let(:history_manager) { double('history_manager') }
3335
before(:each) do
3436
allow(client).to receive(:framework).and_return(framework)

0 commit comments

Comments
 (0)