Sha256: 70bfd24f04ef1daaffcebe3fe5622f48d1e874da86e24d77f52c74600e4bbd7a
Contents?: true
Size: 516 Bytes
Versions: 29
Compression:
Stored size: 516 Bytes
Contents
require 'rake' require 'bundler' Bundler::GemHelper.install_tasks require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/*_test.rb' test.verbose = true end desc 'Default: run tests for all ORMs.' task :default => :tests desc 'Run Devise tests for all ORMs.' task :tests do Dir[File.join(File.dirname(__FILE__), 'test', 'orm', '*.rb')].each do |file| orm = File.basename(file).split(".").first system "rake test DEVISE_ORM=#{orm}" end end
Version data entries
29 entries across 29 versions & 1 rubygems