Rakefile in invoca-utils-0.4.1 vs Rakefile in invoca-utils-0.5.0

- old
+ new

@@ -1,12 +1,15 @@ #!/usr/bin/env rake # frozen_string_literal: true require "bundler/gem_tasks" -require 'rake/testtask' -require 'rake_test_warning_false' +require 'rake' -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) do |rspec_task| + rspec_task.pattern = "spec/**{,/*/**}/*_spec.rb" + end end + +task default: :rspec