Sha256: fac5f6389ee06c4c47a909c5f66a80624b3aefbec63a672ca9d7eb3ad37bcc52
Contents?: true
Size: 365 Bytes
Versions: 1
Compression:
Stored size: 365 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib")) MODELS = File.join(File.dirname(__FILE__), "models") $LOAD_PATH.unshift(MODELS) require "mongoid" require "transmating" require "rspec" Dir[ File.join(MODELS, "*.rb") ].sort.each { |file| require File.basename(file) } def to_proc(&block) block end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
transmating-0.1.0 | spec/spec_helper.rb |