File tree Expand file tree Collapse file tree 1 file changed +8
-17
lines changed
Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Original file line number Diff line number Diff line change 1- <!--- --------------------------------------------------------------------
2- ********************************************************************************
3- Copyright 2005-2007 ColdBox Framework by Luis Majano and Ortus Solutions, Corp
4- www.coldbox.org | www.luismajano.com | www.ortussolutions.com
5- ********************************************************************************
6- Author : Luis Majano
7- Date : 9/3/2007
8- Description :
9- object pool test
10- ----------------------------------------------------------------------->
11- < cfcomponent extends = " coldbox.system.testing.BaseModelTest" >
12- < cfscript >
1+ component extends = " coldbox.system.testing.BaseModelTest" {
2+
133 function setup (){
144 config = {
155 dsn : " coolblog" ,
@@ -97,9 +87,9 @@ object pool test
9787 assertFalse ( store .clear ( " invalid" ) );
9888
9989 store .set ( " test" , now (), 20 );
100- results = store .clear ( " test" );
101-
102- assertTrue ( results );
90+ store .clear ( " test" );
91+ var results = store . lookup ( " test " );
92+ expect ( results ). toBeFalse ( );
10393 }
10494
10595 function testGetSize (){
@@ -108,5 +98,6 @@ object pool test
10898 store .set ( " test" , now (), 0 );
10999 assertTrue ( store .getSize () eq 1 );
110100 }
111- < / cfscript >
112- < / cfcomponent >
101+
102+
103+ }
You can’t perform that action at this time.
0 commit comments