Rakefile in invoca-utils-0.0.2 vs Rakefile in invoca-utils-0.0.3
- old
+ new
@@ -1,18 +1,15 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
require 'rake/testtask'
-namespace :test do
-
- Rake::TestTask.new do |t|
- t.name = :unit
- t.libs << "test"
- t.pattern = 'test/unit/**/*_test.rb'
- t.verbose = true
- end
- Rake::Task['test:unit'].comment = "Run the unit tests"
-
+Rake::TestTask.new(:test) do |t|
+ t.libs << 'lib'
+ t.libs << 'test'
+ t.pattern = 'test/**/*_test.rb'
+ t.verbose = false
end
-task :default => 'test:unit'
+task default: :test
+
+task :default => 'test'