Sha256: 7a37b1a661dc5b62d459d9ffbbd9d5a7513a9ff29b0fd0850b4b976ed699f031
Contents?: true
Size: 376 Bytes
Versions: 2
Compression:
Stored size: 376 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'mongo_persist' require 'rspec' Spec::Runner.configure do |config| config.mock_with :rr end def require_lib(path,name=nil) name ||= path.split("/")[-1] file = "#{path}.rb" if FileTest.exists?(file) require path else require name end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mongo_persist-0.2.1 | spec/spec_helper.rb |
mongo_persist-0.2.0 | spec/spec_helper.rb |