I have been banging my head on this...

post {:controller => 'login', :action => 'login'}, {:invite_id =>  
@invite_to_lee_space.id}

is a line that is giving me syntax errors in a functional test - i  
cannot see why though - any thought?