Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 27 lines (22 sloc) 0.521 kb
e3662aa Ben Johnson Release v2.1.0 and switch to using jeweler instead of Hoe
authored
1 require 'rubygems'
c2ef11b Ben Johnson remove the simple / pointless generator
authored
2 require 'bundler'
ac32c48 Ben Johnson Rails 3 fixes
authored
3
4 Bundler.setup
605162d Ben Johnson Release v2.0 RC1
authored
5
e3662aa Ben Johnson Release v2.1.0 and switch to using jeweler instead of Hoe
authored
6 require 'rake/testtask'
7 Rake::TestTask.new(:test) do |test|
f8cd29c Martin Andert Change gemspec dependency from activesupport to activerecord (which depe...
m4n authored
8 test.libs << 'test'
e3662aa Ben Johnson Release v2.1.0 and switch to using jeweler instead of Hoe
authored
9 test.pattern = 'test/**/*_test.rb'
10 test.verbose = true
11 end
12
13 begin
14 require 'rcov/rcovtask'
15 Rcov::RcovTask.new do |test|
16 test.libs << 'test'
17 test.pattern = 'test/**/*_test.rb'
18 test.verbose = true
19 end
20 rescue LoadError
21 task :rcov do
22 abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
23 end
24 end
25
faa063f Ben Johnson Fix compatibility issue with rails >3.0 wanting the model_name class met...
authored
26 task :default => :test
Something went wrong with that request. Please try again.