update tools/missing-payload-tests to give correct advice

The template spec for new payloads needed updating to match the new cached
payload size spec.
This commit is contained in:
Brent Cook 2015-03-16 18:10:10 -05:00
parent dd824d9ed7
commit db56fcb1b8
1 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,7 @@ 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" \
" it_should_behave_like 'payload cached size is consistent',\n" \
" ancestor_reference_names: ["
ancestor_reference_names = options[:ancestor_reference_names]
@ -74,6 +74,7 @@ File.open('log/untested-payloads.log') { |f|
end
$stderr.puts " ],\n" \
" dynamic_size: false,\n" \
" modules_pathname: modules_pathname,\n" \
" reference_name: '#{reference_name}'\n" \
" end"