Sha256: e41cdc5ac4ffb32a79961ac58230616782db523a00d31a8af7d3724b5d30c676
Contents?: true
Size: 571 Bytes
Versions: 11
Compression:
Stored size: 571 Bytes
Contents
require File.dirname(__FILE__) + '/helper' describe Mercurial::Configuration do before do @config = Mercurial.configuration end after do Mercurial.configure do |config| config.hg_binary_path = '/usr/local/bin/hg' end end it "should have default values" do @config.hg_binary_path.must_equal '/usr/local/bin/hg' end it "should change values with configure block" do Mercurial.configure do |config| config.hg_binary_path = '/usr/bin/hg' end @config.hg_binary_path.must_equal '/usr/bin/hg' end end
Version data entries
11 entries across 11 versions & 1 rubygems