Rakefile in newrelic-rake-1.0.0 vs Rakefile in newrelic-rake-1.1.0
- old
+ new
@@ -1,11 +1,22 @@
require "bundler/gem_tasks"
+require 'rake/testtask'
+
+desc 'Default: run unit tests'
+task :default => :test
+
+desc 'Test newrelic-rake'
+Rake::TestTask.new(:test) do |t|
+ t.libs << 'test'
+ t.pattern = 'test/**/*_test.rb'
+ t.verbose = true
+end