From da03e45641e5663e20ce7723e26c83334e64142d Mon Sep 17 00:00:00 2001 From: Luis Majano Date: Sun, 12 Jan 2025 00:52:47 +0100 Subject: [PATCH] some renaming --- tests/specs/integration/EventExecutionsSpec.cfc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/specs/integration/EventExecutionsSpec.cfc b/tests/specs/integration/EventExecutionsSpec.cfc index 0d439baea..f55f348c7 100644 --- a/tests/specs/integration/EventExecutionsSpec.cfc +++ b/tests/specs/integration/EventExecutionsSpec.cfc @@ -39,7 +39,7 @@ component extends="tests.resources.BaseIntegrationTest" { } ); } ); - xstory( "I want to execute a global invalid event handler", function(){ + story( "I want to execute a global invalid event handler", function(){ given( "an invalid event", function(){ then( "it should fire the global invalid event handler", function(){ var e = this.get( "does.not.exist" ); @@ -56,8 +56,8 @@ component extends="tests.resources.BaseIntegrationTest" { renderResults = true, withExceptionHandling = true ); - expecT( e.getPrivateValue( "exception" ).getType() ).toBe( "CustomException" ); - expecT( e.getPrivateValue( "exception" ).getMessage() ).toInclude( "Whoops" ); + expect( e.getPrivateValue( "exception" ).getType() ).toBe( "CustomException" ); + expect( e.getPrivateValue( "exception" ).getMessage() ).toInclude( "Whoops" ); expect( getNativeStatusCode() ).toBe( 500 ); } ); } );