Rakefile in vanity-1.7.1 vs Rakefile in vanity-1.8.0
- old
+ new
@@ -1,6 +1,7 @@
require "rake/testtask"
+require 'appraisal'
# -- Building stuff --
spec = Gem::Specification.load(Dir["*.gemspec"].first)
@@ -75,10 +76,10 @@
desc "Test using different back-ends"
task "test:adapters", :adapter do |t, args|
adapters = args.adapter ? [args.adapter] : ADAPTERS
adapters.each do |adapter|
puts "** Testing #{adapter} adapter"
- sh "rake test DB=#{adapter} #{'--trace' if Rake.application.options.trace}"
+ sh "rake appraisal test DB=#{adapter} #{'--trace' if Rake.application.options.trace}"
end
end
# Run the test suit.