Rakefile in data_cleansing-0.9.0 vs Rakefile in data_cleansing-1.0.0

- old
+ new

@@ -1,8 +1,6 @@ -require 'rake/clean' require 'rake/testtask' - require_relative 'lib/data_cleansing/version' task :gem do system 'gem build data_cleansing.gemspec' end @@ -12,16 +10,12 @@ system 'git push --tags' system "gem push data_cleansing-#{DataCleansing::VERSION}.gem" system "rm data_cleansing-#{DataCleansing::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