Skip to content
Snippets Groups Projects
Commit 70b5f9a6 authored by Ryan Bates's avatar Ryan Bates
Browse files

adding spec_all task for running specs for all model adapters

parent f9f71d67
No related branches found
No related tags found
No related merge requests found
......@@ -7,4 +7,12 @@ RSpec::Core::RakeTask.new do |t|
t.verbose = false
end
desc "Run specs for all adapters"
task :spec_all do
%w[active_record data_mapper mongoid].each do |model_adapter|
puts "MODEL_ADAPTER = #{model_adapter}"
system "rake spec MODEL_ADAPTER=#{model_adapter}"
end
end
task :default => :spec
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment