Sha256: 9fd94943027c2e5c03993cab6c9c3920aa3eda0da49acd510ab9ec2b99ae7c35
Contents?: true
Size: 304 Bytes
Versions: 4
Compression:
Stored size: 304 Bytes
Contents
require 'insulin' @mongo def load_test_db config = Insulin::Config.new 'conf/insulin_dev.yaml' mconf = config.get_section "mongo" @mongo = Insulin::MongoHandle.new mconf csv = Insulin::OnTrackCsvFile.new "files/on_track.csv" csv.save_events @mongo end def drop_test_db @mongo.drop_db end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
insulin-0.0.13 | spec/spec_helper.rb |
insulin-0.0.12 | spec/spec_helper.rb |
insulin-0.0.11 | spec/spec_helper.rb |
insulin-0.0.10 | spec/spec_helper.rb |