Rakefile in evil-seed-0.1.0 vs Rakefile in evil-seed-0.1.1

- old
+ new

@@ -8,6 +8,18 @@ t.libs << 'test' t.libs << 'lib' t.test_files = FileList['test/**/*_test.rb'] end +ADAPTERS = %w[postgresql sqlite mysql].freeze + +namespace :test do + ADAPTERS.each do |adapter| + task adapter => ["#{adapter}:env", :test] + + namespace adapter do + task(:env) { ENV['DB'] = adapter } + end + end +end + task default: :test