<NME> Rakefile
<BEF> # frozen_string_literal: true

require "bundler/gem_tasks"
require "rake/testtask"
require 'yaml'

  t.test_files = FileList['test/**/*_test.rb']
end

task :default => :spec
  t.warning = true
  t.verbose = true
end

task default: :test

<MSG> Rake executes :test task by default

<DFF> @@ -7,4 +7,4 @@ Rake::TestTask.new(:test) do |t|
   t.test_files = FileList['test/**/*_test.rb']
 end
 
-task :default => :spec
+task default: :test

{'addition_count': 1, 'commit_subject': 'Rake executes :test task by default', 'deletion_count': 1, 'file_extension': '', 'lang': 'Rakefile', 'license': 'mit', 'repo_name': 'amatsuda/stateful_enum'}