|
14 | 14 | * * eventArguments : The struct of args to pass to the event |
15 | 15 | * * renderResults : Render back the results of the event |
16 | 16 | *******************************************************************************/ |
17 | | -component |
18 | | - extends ="coldbox.system.testing.BaseTestCase" |
19 | | - appMapping="/cbTestHarness" |
20 | | -{ |
| 17 | +component extends="tests.resources.BaseIntegrationTest" { |
21 | 18 |
|
22 | 19 | /*********************************** LIFE CYCLE Methods ***********************************/ |
23 | 20 |
|
@@ -92,7 +89,9 @@ component |
92 | 89 | expect( config ).toHaveKey( "test1" ); |
93 | 90 | expect( config[ "test1" ] ).toHaveKey( "settings" ); |
94 | 91 |
|
95 | | - expect( config[ "test1" ].settings ).toBe( parentSettings.moduleSettings[ "test1" ] ); |
| 92 | + expect( config[ "test1" ].settings ).toBe( |
| 93 | + parentSettings.moduleSettings[ "test1" ] |
| 94 | + ); |
96 | 95 |
|
97 | 96 | expect( parentSettings ).toHaveKey( "test1" ); |
98 | 97 | expect( parentSettings[ "test1" ] ).notToBe( config[ "test1" ].settings ); |
@@ -148,7 +147,10 @@ component |
148 | 147 | story( "Modules can register application helpers", function(){ |
149 | 148 | given( "application helpers directive", function(){ |
150 | 149 | then( "the module service will load them by convention", function(){ |
151 | | - var event = execute( event = "conventionsTest:test.index", renderResults = true ); |
| 150 | + var event = execute( |
| 151 | + event = "conventionsTest:test.index", |
| 152 | + renderResults = true |
| 153 | + ); |
152 | 154 | expect( event.getRenderedContent() ).toInclude( "hello from module app helper" ); |
153 | 155 | } ); |
154 | 156 | } ); |
|
0 commit comments