require 'rubygems' require 'spec/rake/spectask' Spec::Rake::SpecTask.new do |t| t.ruby_opts = ['-rtest/unit'] t.spec_files = FileList['*_test.rb'] end