Rakefile in fog-libvirt-0.0.1 vs Rakefile in fog-libvirt-0.0.2
- old
+ new
@@ -32,12 +32,17 @@
# Standard tasks
#
#############################################################################
GEM_NAME = "#{name}"
-task :default => :test
+task :default => [:test, :minitest]
-Rake::TestTask.new do |t|
+Rake::TestTask.new(:minitest) do |t|
+ t.libs << '.'
+ t.libs << 'lib'
+ t.libs << 'minitests'
+ t.test_files = Dir.glob('minitests/**/*_test.rb')
+ t.verbose = true
end
desc 'Run tests'
task :test do
mock = ENV['FOG_MOCK'] || 'true'