Hmm, that seems about right. Not sure why they are not passed, can you post your handler code. Also, try dumping out the event arguments inside of the handler and see what you get.
Luis Majano
CEO
Ortus Solutions, Corp www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408
the eventArguments get lost somewhere in the supertype controller, I think. I hard coded the argument in the BaseTestCase.cfc and in the web/Controller.cfc and it still does not come out the other way.
function run(){
describe( “Project Default Handler”, function(){
it( “should list a max of 100 most recently created projects”, function(){
var event = execute( event=“project:projectHandler.index”);
expect( Arraylen(getRequestContext().getRenderData().DATA.data) ).toBeBetween(1,100);
});
it( “should list 13 most recently created projects”, function(){
url.max = 13;
var event = execute( event=“project:projectHandler.index”);
debug( getRequestContext() );
expect( Arraylen(getRequestContext().getRenderData().DATA.data) ).toBe(13);
});