Rakefile in fluent-plugin-rename-key-0.1.3 vs Rakefile in fluent-plugin-rename-key-0.1.4

- old
+ new

@@ -1,9 +1,9 @@ -task :default => [:spec] -begin - require 'rspec/core/rake_task' - RSpec::Core::RakeTask.new(:spec) do |spec| - spec.pattern = 'spec/**/*_spec.rb' - spec.rspec_opts = ['-cfs'] - end -rescue LoadError => e +require "bundler/gem_tasks" +require "rake/testtask" +Rake::TestTask.new(:test) do |test| + test.libs << 'lib' << 'test' + test.pattern = 'test/**/test_*.rb' + test.verbose = false end + +task :default => :test