Skip to content

Commit a73ea03

Browse files
committed
fix tests
1 parent 7affd3b commit a73ea03

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/packs_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -339,11 +339,11 @@ 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')
346+
actual_readme_todo = ParsePackwerk.find('packs/organisms').directory.join('README.md')
347347
expect(actual_readme_todo.read).to eq 'This is the template'
348348
end
349349

@@ -354,11 +354,11 @@ 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')
361+
actual_readme_todo = ParsePackwerk.find('packs/organisms').directory.join('README.md')
362362
expect(actual_readme_todo.read).to eq 'This is the custom template'
363363
end
364364
end

0 commit comments

Comments
 (0)