Skip to content

Commit

Permalink
Apply cfformat changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano authored and github-actions[bot] committed Nov 16, 2023
1 parent 64c4f78 commit e495151
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/specs/cache/CacheBoxBuildTests.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,18 @@ component extends="testbox.system.BaseSpec" {
var cacheBox = new CacheFactory();
expect( cacheBox ).toBeInstanceOf( "CacheFactory" );
expect( cachebox.getDefaultCache() ).toBeComponent();
expect( cachebox.getDefaultCache().getConfiguration().objectStore ).toBe( "ConcurrentSoftReferenceStore" );
expect( cachebox.getDefaultCache().getConfiguration().objectStore ).toBe(
"ConcurrentSoftReferenceStore"
);
} );

it( "can load with the default config given an empty config string", function(){
var cacheBox = new CacheFactory( config: "" );
expect( cacheBox ).toBeInstanceOf( "CacheFactory" );
expect( cachebox.getDefaultCache() ).toBeComponent();
expect( cachebox.getDefaultCache().getConfiguration().objectStore ).toBe( "ConcurrentSoftReferenceStore" );
expect( cachebox.getDefaultCache().getConfiguration().objectStore ).toBe(
"ConcurrentSoftReferenceStore"
);
} );

it( "can load with a custom config cfc path", function(){
Expand Down

0 comments on commit e495151

Please sign in to comment.