Sha256: f13521b80d8dd57f3031fad43dd991c3951de052e0218de0f4acefc68b5e5282
Contents?: true
Size: 430 Bytes
Versions: 9
Compression:
Stored size: 430 Bytes
Contents
require 'mongo-db-utils/config-loader' describe MongoDbUtils do it "should create a config if one doesn't exist" do tmp_file = ".tmp_path/config.yml" FileUtils.rm_rf(".tmp_path") File.exist?(tmp_file).should eql(false) config = MongoDbUtils::ConfigLoader.load(".tmp_path/config.yml") File.exist?(tmp_file).should eql(true) FileUtils.rm_rf(".tmp_path") end end
Version data entries
9 entries across 9 versions & 1 rubygems