Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixing rake task for tests

  • Loading branch information...
commit cea40b404a28173cf5b0f42d26bccb983cd56368 1 parent fc090a6
Emmanuel Oga authored
Showing with 6 additions and 3 deletions.
  1. +6 −3 Rakefile
View
9 Rakefile
@@ -43,9 +43,12 @@ end
#
#############################################################################
-desc "run the tests"
-task :test do
- sh "ruby -Ilib -Itest/ test/test*"
+require 'rake/testtask'
+Rake::TestTask.new do |t|
+ t.libs << "test/" << "lib/"
+ t.ruby_opts << "-rhelper"
+ t.test_files = FileList['test/test*.rb']
+ t.verbose = true
end
task :default => :test
Please sign in to comment.
Something went wrong with that request. Please try again.