Rakefile in paginate-4.0.0 vs Rakefile in paginate-4.0.1
- old
+ new
@@ -1,5 +1,10 @@
-require "bundler"
-Bundler::GemHelper.install_tasks
+require "bundler/gem_tasks"
+require "rake/testtask"
-require "rspec/core/rake_task"
-RSpec::Core::RakeTask.new
+Rake::TestTask.new(:test) do |t|
+ t.libs << "test"
+ t.test_files = FileList["test/**/*_test.rb"]
+ t.warning = false
+end
+
+task default: :test