diff --git a/spec/beef/modules/debug/test_beef_debugs_spec.rb b/spec/beef/modules/debug/test_beef_debugs_spec.rb index a2c48437b..13ce28360 100644 --- a/spec/beef/modules/debug/test_beef_debugs_spec.rb +++ b/spec/beef/modules/debug/test_beef_debugs_spec.rb @@ -99,7 +99,7 @@ RSpec.describe 'BeEF Debug Command Modules:', :run_on_browserstack => true do @debug_mod_names_ids = {} @debug_mods = @debug_mod_ids.to_a.select { |cmd_mod| cmd_mod[1]['category'] == 'Debug' } .map do |debug_mod| - @debug_mod_names_ids[debug_mod[1]['class']] = debug_mod[0]['id'] + @debug_mod_names_ids[debug_mod[1]['class']] = debug_mod[1]['id'] end end