/spec/spec_helper.rb
Ruby | 6 lines | 3 code | 1 blank | 2 comment | 0 complexity | 03fc83ec663f9d5181de3fb5a91284f0 MD5 | raw file
1require 'simplecov' 2SimpleCov.start 3 4# Fri Jun 1 16:07:00 IST 2012, ram@sarvasv.in (ramonrails) 5# * pickup all models except the sample|test that were given already 6Dir.glob( "*.rb").reject {|e| e =~ /sample|test/}.each {|f| require "./#{f}" }