Skip to content

Instantly share code, notes, and snippets.

@virtix
Created May 31, 2009 03:16
Show Gist options
  • Save virtix/120735 to your computer and use it in GitHub Desktop.
Save virtix/120735 to your computer and use it in GitHub Desktop.
stupid setup
<cfcomponent extends="mxunit.framework.TestCase">
<cfscript>
function setUp(){
plainOldComponent = createObject("component" ,"PlainOldStupidAssCFC");
assertSame(plainOldComponent,plainOldComponent);
}
...
</cfscript>
</cfcomponent>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment