require File.expand_path('<%= '../' * const.nesting_depth %>../test_helper', __FILE__) require '<%= const.relative_path %>' class <%= const.name %>Test < Test::Unit::TestCase acts_as_tap_test def test_<%= const.basename %> task = <%= const.const_name %>.new :message => "goodnight" # a simple test assert_equal({:message => 'goodnight'}, task.config) assert_equal "goodnight moon", task.process("moon") end end