Rakefile in inverter-0.3.2 vs Rakefile in inverter-0.4.5
- old
+ new
@@ -1,3 +1,17 @@
# encoding: utf-8
-require "rubygems"
-require "bundler"
+require 'rubygems'
+require 'bundler/gem_tasks'
+require 'rake/testtask'
+require 'rdoc/task'
+
+desc 'Default: run tests for all ORMs.'
+task default: :test
+
+desc 'Run Inverter unit tests.'
+Rake::TestTask.new(:test) do |t|
+ t.libs << 'lib'
+ t.libs << 'test'
+ t.pattern = 'test/**/*_test.rb'
+ t.verbose = true
+ t.warning = false
+end
\ No newline at end of file