Rakefile in mkmf-lite-0.3.2 vs Rakefile in mkmf-lite-0.4.0

- old
+ new

@@ -1,8 +1,8 @@ require 'rake' require 'rake/clean' -require 'rake/testtask' +require 'rspec/core/rake_task' CLEAN.include("**/*.gem", "**/*.rbc") namespace 'gem' do desc 'Create the mkmf-lite gem.' @@ -18,11 +18,9 @@ file = Dir["*.gem"].first sh "gem install -l #{file}" end end -Rake::TestTask.new do |t| - t.verbose = true - t.warning = true -end +desc "Run the test suite" +RSpec::Core::RakeTask.new(:spec) -task :default => :test +task :default => :spec