test/multiverse/suites/resque/Rakefile in newrelic_rpm-3.5.6.48.beta vs test/multiverse/suites/resque/Rakefile in newrelic_rpm-3.5.6.55
- old
+ new
@@ -1,2 +1,8 @@
require File.join(File.dirname(__FILE__), 'resque_setup')
require 'resque/tasks'
+
+task "resque:setup" do
+ if ENV['BROKEN_AFTER_FORK']
+ Resque.before_fork = Proc.new { 'doot de doo' }
+ end
+end