@@ -264,15 +264,15 @@ component extends="coldbox.system.testing.BaseTestCase" {
264264 it ( " should return .bxm path when .bxm file exists" , function () {
265265 var input = " my.view.template" ;
266266 // simulate the components variables._path which is what is passed to the wire() method
267- var component_path = " my.view.template" ;
267+ var componentPath = " my.view.template" ;
268268 var bxmAbsolutePath = expandPath ( " /my/view/template.bxm" );
269269 var cfmAbsolutePath = expandPath ( " /my/view/template.cfm" );
270270 var expectedPath = " /wires/my/view/template.bxm" ;
271271
272272 mockUtility .$( " fileExists" ).$args ( bxmAbsolutePath ).$results ( true );
273273 mockUtility .$( " fileExists" ).$args ( cfmAbsolutePath ).$results ( false );
274274
275- var result = renderService .normalizeViewPath ( input , component_path );
275+ var result = renderService .normalizeViewPath ( input , componentPath );
276276 expect ( result ).toBe ( expectedPath );
277277 });
278278
@@ -292,14 +292,14 @@ component extends="coldbox.system.testing.BaseTestCase" {
292292 });
293293
294294 it ( " should return .cfm module path when wire is located in module wires directory" , function () {
295- var input = " modules_app.testingModule .wires.twoFileModuleComponent" ;
295+ var input = " modules_app.testingmodule .wires.twoFileModuleComponent" ;
296296 // simulate the components variables._path which is what is passed to the wire() method
297- var component_path = " twoFileModuleComponent@testingModule " ;
297+ var component_path = " twoFileModuleComponent@testingmodule " ;
298298 // use full path to module wire
299- var bxmAbsolutePath = expandPath ( " ../modules_app/testingModule /wires/twoFileModuleComponent.bxm" );
300- var cfmAbsolutePath = expandPath ( " ../modules_app/testingModule /wires/twoFileModuleComponent.cfm" );
299+ var bxmAbsolutePath = expandPath ( " ../modules_app/testingmodule /wires/twoFileModuleComponent.bxm" );
300+ var cfmAbsolutePath = expandPath ( " ../modules_app/testingmodule /wires/twoFileModuleComponent.cfm" );
301301
302- var expectedPath = " /modules_app/testingModule /wires/twoFileModuleComponent.cfm" ;
302+ var expectedPath = " /modules_app/testingmodule /wires/twoFileModuleComponent.cfm" ;
303303 // mock the file exists calls for both .bxm and .cfm paths
304304 mockUtility .$( " fileExists" ).$args ( bxmAbsolutePath ).$results ( false );
305305 mockUtility .$( " fileExists" ).$args ( cfmAbsolutePath ).$results ( true );
0 commit comments