Skip to content
This repository
Newer
Older
100644 18 lines (15 sloc) 0.389 kb
25637bb3 »
2010-07-21 removing extra white space at end of lines
1 require 'rubygems'
2 require 'rake'
18b45d5c »
2010-10-05 adding Gemfile, to get specs running just bundle and rake - closes #163
3 require 'rspec/core/rake_task'
25637bb3 »
2010-07-21 removing extra white space at end of lines
4
18b45d5c »
2010-10-05 adding Gemfile, to get specs running just bundle and rake - closes #163
5 desc "Run RSpec"
6 RSpec::Core::RakeTask.new do |t|
7 t.verbose = false
25637bb3 »
2010-07-21 removing extra white space at end of lines
8 end
9
70b5f9a6 »
2010-12-30 adding spec_all task for running specs for all model adapters
10 desc "Run specs for all adapters"
11 task :spec_all do
12 %w[active_record data_mapper mongoid].each do |model_adapter|
13 puts "MODEL_ADAPTER = #{model_adapter}"
14 system "rake spec MODEL_ADAPTER=#{model_adapter}"
15 end
16 end
17
bf9b8ad1 »
2010-09-03 filling in some inline documentation for 1.4
18 task :default => :spec
Something went wrong with that request. Please try again.