diff --git a/spec/modules/payloads_spec.rb b/spec/modules/payloads_spec.rb index 50d2b728a5..dd4d6555b4 100644 --- a/spec/modules/payloads_spec.rb +++ b/spec/modules/payloads_spec.rb @@ -1839,7 +1839,7 @@ describe 'modules/payloads', :content do context 'python/meterpreter/reverse_http' do it_should_behave_like 'payload can be instantiated', - ancestor_reference_name: [ + ancestor_reference_names: [ 'stagers/python/reverse_http', 'stages/python/meterpreter' ], diff --git a/tools/missing-payload-tests.rb b/tools/missing-payload-tests.rb index 202bc7b656..5d46ad398b 100755 --- a/tools/missing-payload-tests.rb +++ b/tools/missing-payload-tests.rb @@ -62,15 +62,15 @@ File.open('log/untested-payloads.log') { |f| $stderr.puts $stderr.puts " context '#{reference_name}' do\n" \ " it_should_behave_like 'payload can be instantiated',\n" \ - " ancestor_reference_name: [" + " ancestor_reference_names: [" ancestor_reference_names = options[:ancestor_reference_names] if ancestor_reference_names.length == 1 $stderr.puts " '#{ancestor_reference_names[0]}'" else - $stderr.puts " '#{ancestor_reference_names[0]}'," - $stderr.puts " '#{ancestor_reference_names[1]}'" + $stderr.puts " '#{ancestor_reference_names[1]}'," + $stderr.puts " '#{ancestor_reference_names[0]}'" end $stderr.puts " ],\n" \