From f0e47a822d2c02b007010e625f5802044c608881 Mon Sep 17 00:00:00 2001 From: Jake Webster Date: Fri, 27 Feb 2026 14:18:28 +1000 Subject: [PATCH] FIX: unused variable --- spec/beef/core/main/models/command_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/beef/core/main/models/command_spec.rb b/spec/beef/core/main/models/command_spec.rb index 2cec84b98..0a6d75d03 100644 --- a/spec/beef/core/main/models/command_spec.rb +++ b/spec/beef/core/main/models/command_spec.rb @@ -113,7 +113,7 @@ RSpec.describe BeEF::Core::Models::Command do end it 'raises TypeError when command is not found for id and hooked_browser' do - other_hb = BeEF::Core::Models::HookedBrowser.create!(session: 'other_session', ip: '127.0.0.1') + BeEF::Core::Models::HookedBrowser.create!(session: 'other_session', ip: '127.0.0.1') expect do described_class.save_result('other_session', command.id, 'Name', {}, 1)