require 'rake' require 'rake/testtask' require 'rake/rdoctask' desc 'Run unit tests for the StringLayout plugin (also available through test:plugins:string_layout).' task :string_layout => 'test:plugins:string_layout' namespace :test do namespace :plugins do Rake::TestTask.new( :string_layout ) do |t| t.libs << "test" t.pattern = "vendor/plugins/string_layout/test/**/*_test.rb" t.verbose = true end end end