Rakefile in exception_handling-2.6.0 vs Rakefile in exception_handling-2.6.1
- old
+ new
@@ -1,14 +1,15 @@
#!/usr/bin/env rake
# frozen_string_literal: true
-require "bundler/gem_tasks"
require 'rake/testtask'
+require "bundler/gem_tasks"
-require_relative 'test/rake_test_warning_false'
+require_relative 'spec/rake_test_warning_false'
-task default: :test
-
-Rake::TestTask.new do |t|
- t.pattern = "test/**/*_test.rb"
+desc "run rspec unit tests"
+begin
+ require 'rspec/core/rake_task'
+ RSpec::Core::RakeTask.new(:rspec)
end
+task default: :rspec