Rakefile in easy_data_tables-0.1.1 vs Rakefile in easy_data_tables-0.2.0
- old
+ new
@@ -1,8 +1,20 @@
# frozen_string_literal: true
+require 'bundler/setup'
+
+APP_RAKEFILE = File.expand_path('test/dummy/Rakefile', __dir__)
+load 'rails/tasks/engine.rake'
+
+load 'rails/tasks/statistics.rake'
+
require 'bundler/gem_tasks'
-require 'rspec/core/rake_task'
-RSpec::Core::RakeTask.new(:spec)
+require 'rake/testtask'
-task default: :spec
+Rake::TestTask.new(:test) do |t|
+ t.libs << 'test'
+ t.pattern = 'test/**/*_test.rb'
+ t.verbose = false
+end
+
+task default: :test