Rakefile in semantic_logger-3.4.1 vs Rakefile in semantic_logger-4.0.0.beta1
- old
+ new
@@ -13,16 +13,12 @@
system 'git push --tags'
system "gem push semantic_logger-#{SemanticLogger::VERSION}.gem"
system "rm semantic_logger-#{SemanticLogger::VERSION}.gem"
end
-desc 'Run Test Suite'
-task :test do
- Rake::TestTask.new(:functional) do |t|
- t.test_files = FileList['test/**/*_test.rb']
- t.verbose = true
- end
-
- Rake::Task['functional'].invoke
+Rake::TestTask.new(:test) do |t|
+ t.pattern = 'test/**/*_test.rb'
+ t.verbose = true
+ t.warning = false
end
task default: :test