Sha256: 3fa68f0640518d35476d9b9029efadf377f842a45a2ce7661dab6f5885b64eb0

Contents?: true

Size: 486 Bytes

Versions: 17

Compression:

Stored size: 486 Bytes

Contents

require "bundler/gem_tasks"
require 'rake/testtask'

desc 'Run mysql2 and postgresql tests'
task :test do
  Rake::Task["test:mysql2"].invoke
  Rake::Task["test:postgresql"].invoke
end

namespace :test do
  %w(mysql2 postgresql).each do |test_name|
    Rake::TestTask.new(test_name) do |t|
      t.libs << "test"
      t.libs << "lib"
      t.test_files = FileList["test/config/prepare_#{test_name}", 'test/**/*_test.rb']
      t.verbose = true
    end
  end
end

task :default => :test

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
fresh_connection-3.0.3 Rakefile
fresh_connection-3.0.2 Rakefile
fresh_connection-3.0.2.rc1 Rakefile
fresh_connection-3.0.1 Rakefile
fresh_connection-3.0.1.rc2 Rakefile
fresh_connection-3.0.1.rc1 Rakefile
fresh_connection-3.0.0 Rakefile
fresh_connection-3.0.0.rc2 Rakefile
fresh_connection-3.0.0.rc1 Rakefile
fresh_connection-2.4.4 Rakefile
fresh_connection-2.4.3 Rakefile
fresh_connection-2.4.2 Rakefile
fresh_connection-2.4.1 Rakefile
fresh_connection-2.4.0 Rakefile
fresh_connection-2.4.0.rc4 Rakefile
fresh_connection-2.4.0.rc3 Rakefile
fresh_connection-2.4.0.rc1 Rakefile