Rakefile in exception_handling-2.4.0 vs Rakefile in exception_handling-2.4.1
- old
+ new
@@ -2,17 +2,11 @@
# frozen_string_literal: true
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"
+task default: :test
+
+Rake::TestTask.new do |t|
+ t.pattern = "test/**/*_test.rb"
end
-task test: 'test:unit'
-task default: 'test'