Rakefile in fluent-plugin-gc-0.0.2 vs Rakefile in fluent-plugin-gc-0.0.3

- old
+ new

@@ -1,13 +1,14 @@ # encoding: utf-8 require "bundler/gem_tasks" -require 'rspec/core' -require 'rspec/core/rake_task' -RSpec::Core::RakeTask.new(:spec) do |spec| - spec.pattern = FileList['spec/**/*_spec.rb'] +require 'rake/testtask' +Rake::TestTask.new(:test) do |test| + test.libs << 'lib' << 'test' + test.pattern = 'test/**/test_*.rb' + test.verbose = true end -task :default => :spec +task :default => :test desc 'Open an irb session preloaded with the gem library' task :console do sh 'irb -rubygems -I lib' end