cruisecontrol.rb and metric_fu

i want to use cruisecontrol.rb to run ‘rake test’ (every time a new
revision is in the svn repo) and ‘rake metrics:all’ (let’s say every
24 hours). how do i have to configure cruisecontrol.rb? both rake
tasks work. however, when i configure cruisecontrol.rb as described on
the metric_fu website, i.e. add 'project.rake_task = ‘metrics:all’
project.scheduler.polling_interval = 24.hours’ to the projects
cruise_config.rb, only the metrics:all task is executed, but not the
tests. how do i configure cruisecontrol.rb so that both are run?