Skip to content

Commit

Permalink
Fix thread count
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelch-r7 committed Nov 7, 2023
1 parent c7e0e09 commit 67a3432
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/lib/msf/ui/console/command_dispatcher/session_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
RSpec.shared_examples_for 'session command dispatcher' do
include_context 'Msf::Simple::Framework'
include_context 'Msf::Framework#threads cleaner', verify_cleanup_required: false

describe '#client' do
subject { command_dispatcher.client }
it { is_expected.to be(client) }
Expand Down Expand Up @@ -28,7 +31,6 @@
end

describe '#cmd_irb' do
let(:framework) { double('framework') }
let(:history_manager) { double('history_manager') }
before(:each) do
allow(client).to receive(:framework).and_return(framework)
Expand Down

0 comments on commit 67a3432

Please sign in to comment.