Rakefile in iostreams-0.9.1 vs Rakefile in iostreams-0.10.0

- old
+ new

@@ -1,8 +1,6 @@ -require 'rake/clean' require 'rake/testtask' - require_relative 'lib/io_streams/version' task :gem do system 'gem build iostreams.gemspec' end @@ -12,16 +10,12 @@ system 'git push --tags' system "gem push iostreams-#{IOStreams::VERSION}.gem" system "rm iostreams-#{IOStreams::VERSION}.gem" end -desc 'Run Test Suite' -task :test do - Rake::TestTask.new(:functional) do |t| - t.test_files = FileList['test/**/*_test.rb'] - t.verbose = true - end - - Rake::Task['functional'].invoke +Rake::TestTask.new(:test) do |t| + t.pattern = 'test/**/*_test.rb' + t.verbose = true + t.warning = true end task :default => :test