Rakefile in scopelist-0.0.3 vs Rakefile in scopelist-0.0.4

- old
+ new

@@ -1,16 +1,10 @@ -require "bundler/gem_tasks" -require 'rspec/core/rake_task' +require 'bundler/gem_tasks' +require 'rake/testtask' -RSpec::Core::RakeTask.new('spec') - -# If you want to make this the default task -task :default => :spec - -task :console do - require 'irb' - require 'irb/completion' - require 'active_record' - require 'scopelist' - ARGV.clear - IRB.start +Rake::TestTask.new(:test) do |t| + t.libs << 'test' + t.libs << 'lib' + t.test_files = FileList['test/**/*_test.rb'] end + +task default: :test