require 'rake/testtask' require "sqlite3" task :default => [:test] Rake::TestTask.new do |t| require "sequel" Sequel.extension :migration db = Sequel.connect("sqlite://test.db") Sequel::Migrator.run(db, "migrations") t.test_files = FileList['specs/*_spec.rb'] t.verbose = false if t.respond_to?(:warning=) t.warning = false end end