Skip to content

Commit

Permalink
some renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano committed Jan 11, 2025
1 parent c776a42 commit da03e45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/specs/integration/EventExecutionsSpec.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
Expand All @@ -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 );
} );
} );
Expand Down

0 comments on commit da03e45

Please sign in to comment.