@@ -339,12 +339,12 @@ def write_codeownership_config
339339 end
340340
341341 context 'when the app has a README template' do
342- it 'uses the template to create the README_TODO .md' do
342+ it 'uses the template to create the README .md' do
343343 write_file ( 'README_TEMPLATE.md' , 'This is the template' )
344344 Packs . create_pack! ( pack_name : 'packs/organisms' )
345345 ParsePackwerk . bust_cache!
346- actual_readme_todo = ParsePackwerk . find ( 'packs/organisms' ) . directory . join ( 'README_TODO .md' )
347- expect ( actual_readme_todo . read ) . to eq 'This is the template'
346+ actual_readme = ParsePackwerk . find ( 'packs/organisms' ) . directory . join ( 'README .md' )
347+ expect ( actual_readme . read ) . to eq 'This is the template'
348348 end
349349
350350 context 'and a custom path is specified for the README template' do
@@ -354,12 +354,12 @@ def write_codeownership_config
354354 YML
355355 end
356356
357- it 'uses the template to create the README_TODO .md' do
357+ it 'uses the template to create the README .md' do
358358 write_file ( 'my_folder/README_STUFF.md' , 'This is the custom template' )
359359 Packs . create_pack! ( pack_name : 'packs/organisms' )
360360 ParsePackwerk . bust_cache!
361- actual_readme_todo = ParsePackwerk . find ( 'packs/organisms' ) . directory . join ( 'README_TODO .md' )
362- expect ( actual_readme_todo . read ) . to eq 'This is the custom template'
361+ actual_readme = ParsePackwerk . find ( 'packs/organisms' ) . directory . join ( 'README .md' )
362+ expect ( actual_readme . read ) . to eq 'This is the custom template'
363363 end
364364 end
365365 end
0 commit comments