Rakefile in mikoshi-0.1.5 vs Rakefile in mikoshi-0.2.0
- old
+ new
@@ -1,13 +1,10 @@
+# frozen_string_literal: true
+
require 'bundler/gem_tasks'
-require 'rake/testtask'
+require 'rspec/core/rake_task'
require 'rubocop/rake_task'
-Rake::TestTask.new(:test) do |t|
- t.libs << 'test'
- t.libs << 'lib'
- t.test_files = FileList['test/**/*_test.rb']
-end
-
+RSpec::Core::RakeTask.new(:spec)
RuboCop::RakeTask.new
-task default: %i[test rubocop]
+task default: %i[spec rubocop]