Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 19 lines (15 sloc) 0.389 kB
25637bb @ryanb removing extra white space at end of lines
authored
1 require 'rubygems'
2 require 'rake'
18b45d5 @ryanb adding Gemfile, to get specs running just bundle and rake - closes #163
authored
3 require 'rspec/core/rake_task'
25637bb @ryanb removing extra white space at end of lines
authored
4
18b45d5 @ryanb adding Gemfile, to get specs running just bundle and rake - closes #163
authored
5 desc "Run RSpec"
6 RSpec::Core::RakeTask.new do |t|
7 t.verbose = false
25637bb @ryanb removing extra white space at end of lines
authored
8 end
9
70b5f9a @ryanb adding spec_all task for running specs for all model adapters
authored
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
bf9b8ad @ryanb filling in some inline documentation for 1.4
authored
18 task :default => :spec
Something went wrong with that request. Please try again.