/usr/share/backgroundrb/generators/worker/templates/unit_test.rb is in libbackgroundrb-ruby1.8 1.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper'
require "#{RAILS_ROOT}/lib/workers/<%= file_name %>_worker"
require "#{RAILS_ROOT}/vendor/plugins/backgroundrb/lib/backgroundrb.rb"
require 'drb'
class <%= class_name %>WorkerTest < Test::Unit::TestCase
# Replace this with your real tests.
def test_truth
assert <%= class_name %>Worker.included_modules.include?(DRbUndumped)
end
end
|