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

Commit e7d1a1f

Browse files
committed
minor environment fixes to a LIH unit test -- and with that, we pass
again after the last big dev merge!
1 parent 803d541 commit e7d1a1f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/list_item_hunter_tests.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@
268268
'process_list_item_partials - correctly ignores bookended partials without a style modifier when the same partial has a style modifier between' : function(test){
269269
//arrange
270270
var fs = require('fs-extra');
271+
var pa = require('../builder/pattern_assembler');
271272
var pattern_assembler = new pa();
272273
var list_item_hunter = new lih();
273274
var patterns_dir = './test/files/_patterns';
@@ -295,12 +296,12 @@
295296
]
296297
};
297298

298-
var atomPattern = new object_factory.oPattern('test/files/_patterns/00-test/03-styled-atom.mustache', '00-test', '03-styled-atom.mustache');
299+
var atomPattern = new of.oPattern('test/files/_patterns/00-test/03-styled-atom.mustache', '00-test', '03-styled-atom.mustache');
299300
atomPattern.template = fs.readFileSync(patterns_dir + '/00-test/03-styled-atom.mustache', 'utf8');
300301
atomPattern.extendedTemplate = atomPattern.template;
301302
atomPattern.stylePartials = pattern_assembler.find_pattern_partials_with_style_modifiers(atomPattern);
302303

303-
var bookendPattern = new object_factory.oPattern('test/files/_patterns/00-test/11-bookend-listitem.mustache', '00-test', '11-bookend-listitem.mustache');
304+
var bookendPattern = new of.oPattern('test/files/_patterns/00-test/11-bookend-listitem.mustache', '00-test', '11-bookend-listitem.mustache');
304305
bookendPattern.template = fs.readFileSync(patterns_dir + '/00-test/11-bookend-listitem.mustache', 'utf8');
305306
bookendPattern.extendedTemplate = bookendPattern.template;
306307
bookendPattern.stylePartials = pattern_assembler.find_pattern_partials_with_style_modifiers(bookendPattern);

0 commit comments

Comments
 (0)