diff --git a/spec/file_fixtures/modules/auxiliary/auxiliary_tidy.rb b/spec/file_fixtures/modules/auxiliary/auxiliary_tidy.rb index 2d92919566..4bd0884ea3 100644 --- a/spec/file_fixtures/modules/auxiliary/auxiliary_tidy.rb +++ b/spec/file_fixtures/modules/auxiliary/auxiliary_tidy.rb @@ -5,15 +5,11 @@ class MetasploitModule < Msf::Auxiliary def initialize(info = {}) - super( - update_info( - info, - 'Name' => 'Tidy Auxiliary Module for RSpec' - 'Description' => 'Test!' - }, - 'Author' => %w(Unknown), - 'License' => MSF_LICENSE, - ) - ) + super(update_info(info, + 'Name' => 'Tidy Auxiliary Module for RSpec' + 'Description' => 'Test!' + 'Author' => 'Unknown', + 'License' => MSF_LICENSE + )) end end diff --git a/spec/file_fixtures/modules/payloads/payload_tidy.rb b/spec/file_fixtures/modules/payloads/payload_tidy.rb index 7346a48111..e7d025c725 100644 --- a/spec/file_fixtures/modules/payloads/payload_tidy.rb +++ b/spec/file_fixtures/modules/payloads/payload_tidy.rb @@ -4,14 +4,13 @@ ## -module Metasploit +module MetasploitModule def initialize(info = {}) - super( - merge_info( - info, - 'Name' => 'Tidy Payload for RSpec', - 'Description' => 'Test!' - ) - ) + super(merge_info(info, + 'Name' => 'Tidy Payload for RSpec', + 'Description' => 'Test!', + 'Author' => 'Unknown', + 'License' => MSF_LICENSE + )) end end