Permalink
Browse files

[+] RSpec task

  • Loading branch information...
1 parent ea491ae commit 0d688d3acba1656d77d13c12b1121cc59e93ab77 @romanvbabenko romanvbabenko committed May 14, 2011
Showing with 5 additions and 6 deletions.
  1. +5 −6 Rakefile
View
@@ -1,16 +1,15 @@
require 'bundler'
Bundler::GemHelper.install_tasks
-require 'rake/testtask'
+require "rspec/core/rake_task"
require 'rake/rdoctask'
desc 'Default: run tests'
-task :default => :test
+task :default => :spec
desc 'Run tests for Footnotes.'
-Rake::TestTask.new(:test) do |t|
- t.libs << 'test'
- t.pattern = 'test/**/*_test.rb'
- t.verbose = true
+RSpec::Core::RakeTask.new(:spec) do |t|
+ t.pattern = 'spec/**/*_spec.rb'
+ t.rcov = false
end
desc 'Generate documentation for Footnotes.'

0 comments on commit 0d688d3

Please sign in to comment.