Sha256: 75253d0109e718f057002b64b6a88d55d5ec5335aadfafed6a1be34133bedb5a
Contents?: true
Size: 635 Bytes
Versions: 5
Compression:
Stored size: 635 Bytes
Contents
require "bundler" Bundler.setup require 'rake' require 'rake/testtask' namespace :display do task :notice do puts puts "To run tests you must supply the adapter, see rake -T for more information. e.g. rake test:oracle_enhanced" puts end end task :default => ["display:notice"] ADAPTERS = %w(oracle_enhanced) ADAPTERS.each do |adapter| namespace :test do desc "Runs #{adapter} database tests." Rake::TestTask.new(adapter) do |t| t.test_files = FileList["test/adapters/#{adapter}.rb", "test/*_test.rb", "test/active_record/*_test.rb", "test/#{adapter}/**/*_test.rb"] end task adapter end end
Version data entries
5 entries across 5 versions & 1 rubygems