Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.501 kb
require 'bundler'
Bundler::GemHelper.install_tasks
require 'rspec'
require 'rspec/core/rake_task'
namespace :spec do
RSpec::Core::RakeTask.new(:activerecord) do |t|
t.pattern = "./spec/activerecord/**/*_spec.rb"
t.rspec_opts = "--format Fuubar"
end
RSpec::Core::RakeTask.new(:mongoid) do |t|
t.pattern = "./spec/mongoid/**/*_spec.rb"
t.rspec_opts = "--format Fuubar"
end
end
task :default do
Rake::Task['spec:activerecord'].invoke
Rake::Task['spec:mongoid'].invoke
end
Jump to Line
Something went wrong with that request. Please try again.