Sha256: 73f233ca23a5bf06bebd1e114b7d557c15b2a2e1730fde1a251e5b3292914002
Contents?: true
Size: 583 Bytes
Versions: 37
Compression:
Stored size: 583 Bytes
Contents
require 'rake/testtask' require 'rake/rdoctask' require 'rcov/rcovtask' require File.dirname(__FILE__) + '/config/config' Dir.glob(File.dirname(__FILE__) + '/tasks/*.rake').each { |f| load f } desc "Default: run all tests" task :default => :test namespace :environment do task :application do puts "Loading application environment..." require File.dirname(__FILE__) + '/app' end task :models do puts "Loading models..." Config.setup_mongomapper base = File.dirname(__FILE__) Dir.glob(base + '/models/*.rb' ).each { |f| require f } end end
Version data entries
37 entries across 37 versions & 1 rubygems