Sha256: aff11db6680e9235c5bcc819dec26cdffe2f404115bd84d83a4157d02e9b4dc7
Contents?: true
Size: 447 Bytes
Versions: 6
Compression:
Stored size: 447 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe DRbQS::Config do it "should return nil" do DRbQS::Config.set_directory(File.dirname(__FILE__) + '/not_exist_path') DRbQS::Config.get_acl_file.should be_nil end it "should return existing path" do path = File.dirname(__FILE__) + '/data' DRbQS::Config.set_directory(path) DRbQS::Config.get_acl_file.should == File.join(path, 'acl.txt') end end
Version data entries
6 entries across 6 versions & 1 rubygems