Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c80c5a3c3f
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (25 sloc) 0.606 kb
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'test'
test.pattern = 'test/**/test_*.rb'
end
Rake::TestTask.new(:bench) do |test|
test.libs << 'test'
test.pattern = 'test/benchmark_test.rb'
end
begin
require 'metric_fu'
MetricFu::Configuration.run do |config|
config.rcov[:rcov_opts] << "-Itest:lib"
end
rescue LoadError
end
task :default => :test
task :test_all do
system('rake test RAILS_VERSION="~> 2.3.0"')
system('rake test RAILS_VERSION="~> 3.0.0"')
end
require 'rake/rdoctask'
Rake::RDocTask.new do |rd|
rd.rdoc_files.include("lib/**/*.rb")
end
Jump to Line
Something went wrong with that request. Please try again.