Rakefile in soaspec-0.2.29 vs Rakefile in soaspec-0.2.30
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rake/clean'
require 'yard'
require 'yard/doctest/rake'
@@ -10,10 +12,10 @@
desc 'Run tests'
RSpec::Core::RakeTask.new(spec: %i[clean clobber start_test_server]) do |t|
t.pattern = "spec/**/#{ENV['folder']}*/#{ENV['test']}*_spec.rb"
end
-task :parallel => [:clean, :clobber, :start_test_server] do
+task parallel: %i[clean clobber start_test_server] do
puts `parallel_rspec spec`
end
task default: :spec