Rakefile in capybara-screenshot-diff-1.3.1 vs Rakefile in capybara-screenshot-diff-1.4.0

- old
+ new

@@ -1,16 +1,18 @@ # frozen_string_literal: true -require 'bundler/gem_tasks' -require 'rake/testtask' +require "bundler/gem_tasks" +require "rake/testtask" task default: :test Rake::TestTask.new(:test) do |t| - t.libs << 'test' - t.libs << 'lib' - t.test_files = FileList['test/**/*_test.rb'] + t.libs << "test" + t.libs << "lib" + t.test_files = FileList["test/**/*_test.rb"] end -require 'rubocop/rake_task' -RuboCop::RakeTask.new -task test: %i[rubocop:auto_correct] +Rake::TestTask.new("test:integration") do |t| + t.libs << "test" + t.libs << "lib" + t.test_files = FileList["test/integration/**/*_test.rb"] +end