Sha256: 0ec3f6eb73d467e4adeddb585ae1dc361e9eec078260b6a8b693117a8cb7e7bc
Contents?: true
Size: 540 Bytes
Versions: 1
Compression:
Stored size: 540 Bytes
Contents
#!/usr/bin/env rake require "bundler/gem_tasks" require 'rake' require 'rake/testtask' Rake::TestTask.new(:_test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end task :test_each_db_adapter do %w{ mysql2 sqlite pg }.each do |database| puts puts "#{'*'*10} Running #{database} tests" puts puts `rake _test TEST=test/test_#{database}.rb` end end task :default => :test_each_db_adapter task :test => :test_each_db_adapter require 'yard' YARD::Rake::YardocTask.new
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
upsert-0.0.1 | Rakefile |