Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 20 lines (17 sloc) 0.412 kb
3ecd0b9 @jeremydurham Added Rakefile, gemspec
authored
1 require 'rubygems'
bacc0f2 @jeremydurham Cleaned out Rakefile and updated to rspec 2.x
authored
2 require 'active_record'
3ecd0b9 @jeremydurham Added Rakefile, gemspec
authored
3 require 'rake/gempackagetask'
4 require 'rubygems/specification'
5 require 'rake/rdoctask'
bacc0f2 @jeremydurham Cleaned out Rakefile and updated to rspec 2.x
authored
6 require 'rspec/core/rake_task'
a7b4365 @jeremydurham * Renamed MIT-LICENSE file to LICENSE
authored
7
8 desc "Run all examples"
bacc0f2 @jeremydurham Cleaned out Rakefile and updated to rspec 2.x
authored
9 RSpec::Core::RakeTask.new(:spec) do |t|
a7b4365 @jeremydurham * Renamed MIT-LICENSE file to LICENSE
authored
10 end
11
12 namespace :spec do
13 desc "Run all examples with RCov"
bacc0f2 @jeremydurham Cleaned out Rakefile and updated to rspec 2.x
authored
14 RSpec::Core::RakeTask.new(:rcov) do |t|
a7b4365 @jeremydurham * Renamed MIT-LICENSE file to LICENSE
authored
15 t.rcov = true
bacc0f2 @jeremydurham Cleaned out Rakefile and updated to rspec 2.x
authored
16 end
a7b4365 @jeremydurham * Renamed MIT-LICENSE file to LICENSE
authored
17 end
18
19 desc 'Default: run unit tests.'
20 task :default => 'spec'
Something went wrong with that request. Please try again.