Skip to content

Commit 9905f02

Browse files
committed
more updates on tests
1 parent 2845ce6 commit 9905f02

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/specs/integration/MainTests.cfc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ component
4949

5050
it( "can handle invalid events", function(){
5151
var event = execute( event = "invalid:bogus.index", renderResults = true );
52-
expect( event.getValue( "cbox_rendered_content" ) ).toBe( "<h1>Invalid Page</h1>
53-
" );
52+
expect( event.getValue( "cbox_rendered_content" ) ).toInclude( "Invalid Page" );
5453
} );
5554

5655
it( "can handle invalid onInvalidEvent handlers", function(){

0 commit comments

Comments
 (0)