Sha256: 732e931fd0ff58300946715e9f5c7a27402274ec6a114416e5b2579f9bebf2d0
Contents?: true
Size: 464 Bytes
Versions: 21
Compression:
Stored size: 464 Bytes
Contents
require "bundler/gem_tasks" require 'rake/testtask' desc 'Run mysql2 and postgresql test' task :test do Rake::Task["test:mysql2"].invoke Rake::Task["test:postgresql"].invoke end namespace :test do %w(mysql2 postgresql).each do |db| Rake::TestTask.new(db) do |t| t.libs << "test" t.libs << "lib" t.test_files = FileList["test/config/prepare_#{db}", 'test/**/*_test.rb'] t.verbose = true end end end task :default => :test
Version data entries
21 entries across 21 versions & 2 rubygems