Rakefile in bcdd-result-0.7.0 vs Rakefile in bcdd-result-0.8.0
- old
+ new
@@ -1,13 +1,19 @@
# frozen_string_literal: true
require 'bundler/gem_tasks'
require 'rake/testtask'
+Rake::TestTask.new(:test_configuration) do |t|
+ t.libs += %w[lib test]
+
+ t.test_files = FileList.new('test/**/configuration_test.rb')
+end
+
Rake::TestTask.new(:test) do |t|
- t.libs << 'test'
- t.libs << 'lib'
- t.test_files = FileList['test/**/*_test.rb']
+ t.libs += %w[lib test]
+
+ t.test_files = FileList.new('test/**/*_test.rb')
end
require 'rubocop/rake_task'
RuboCop::RakeTask.new