Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Commit b2e1a38

Browse files
committed
Fix the 'process_list_item_partials finds verbose partials and outputs
repeated renders' test to actually, you know, test verbose partials
1 parent 0681781 commit b2e1a38

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/list_item_hunter_tests.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,14 @@
113113

114114
'process_list_item_partials finds verbose partials and outputs repeated renders' : function(test){
115115
var pattern1 = createFakeListPattern({
116-
"template": "{{#listItems.one}}{{> atoms-foo }}{{/listItems.one}}",
117-
"extendedTemplate" : "{{#listItems.one}}{{> atoms-foo }}{{/listItems.one}}",
116+
"template": "{{#listItems.one}}{{> 00-atoms/00-test/00-foo.mustache }}{{/listItems.one}}",
117+
"extendedTemplate" : "{{#listItems.one}}{{> 00-atoms/00-test/00-foo.mustache }}{{/listItems.one}}",
118118
"key": "test-patternName1"
119119
});
120120

121121
var pattern2 = createFakeListPattern({
122-
"template": "{{#listItems.two}}{{> atoms-bar }}{{/listItems.two}}",
123-
"extendedTemplate" : "{{#listItems.two}}{{> atoms-bar }}{{/listItems.two}}",
122+
"template": "{{#listItems.two}}{{> 00-atoms/00-test/00-bar.mustache }}{{/listItems.two}}",
123+
"extendedTemplate" : "{{#listItems.two}}{{> 00-atoms/00-test/00-bar.mustache }}{{/listItems.two}}",
124124
"key": "test-patternName2"
125125
});
126126

0 commit comments

Comments
 (0)