Rakefile in import-0.0.1 vs Rakefile in import-0.0.2

- old
+ new

@@ -18,20 +18,17 @@ rdoc.options << '--line-numbers' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') end - - Bundler::GemHelper.install_tasks -require 'rake/testtask' +require 'rake' +require 'rspec/core' +require 'rspec/core/rake_task' -Rake::TestTask.new(:test) do |t| - t.libs << 'lib' - t.libs << 'test' - t.pattern = 'test/**/*_test.rb' - t.verbose = false +RSpec::Core::RakeTask.new(:spec) do |spec| + spec.pattern = FileList['spec/**/*_spec.rb'] end - -task :default => :test +desc 'Default: Run all specs.' +task :default => :spec \ No newline at end of file