require File.dirname(__FILE__) + '/../test_helper.rb' class Test<%= name.camelcase %> < Test::Unit::TestCase def setup @rake = rake_up load File.dirname(__FILE__) + '/../../tasks/<%= name %>.rake' end should "be true" do @rake["<%= name %>"].invoke # Test expected behaviour after rake call assert true end def teardown Rake.application = nil end end