Rakefile in phlex-0.1.0 vs Rakefile in phlex-0.2.0
- old
+ new
@@ -1,12 +1,10 @@
# frozen_string_literal: true
require "bundler/gem_tasks"
-require "rake/testtask"
-Rake::TestTask.new(:test) do |t|
- t.libs << "test"
- t.libs << "lib"
- t.test_files = FileList["test/**/test_*.rb"]
+begin
+ require "rspec/core/rake_task"
+ RSpec::Core::RakeTask.new(:spec)
end
-task default: :test
+task default: :spec