public
Description: A Rails plugin that makes it easy to write tests or specs for time-dependent code
Homepage: http://notahat.com/time_travel
Clone URL: git://github.com/notahat/time_travel.git
notahat (author)
Wed Sep 03 17:14:01 -0700 2008
commit  3cb0af205b1dafb251a8f025ac48c3d573a7b800
tree    19baaecb64a5e2fc42772c67593f146a6d8d22fa
parent  cfc0c817dc7ff3bf5f11a30f3e32c3ba36532fd7
time_travel / Rakefile
100644 15 lines (12 sloc) 0.348 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'rake'
require 'spec/rake/spectask'
require 'rake/rdoctask'
 
desc "Default: run specs"
task :default => :spec
 
desc "Run all the specs for the time_travel plugin."
Spec::Rake::SpecTask.new do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.spec_opts = ['--colour']
  t.rcov = true
  t.rcov_opts = ["--exclude \"spec/*,gems/*\""]
end