Sha256: 5be8438d6ff1f41e817280af61c211098c7a8c1443c492ebf27c0d4e177a3cad
Contents?: true
Size: 557 Bytes
Versions: 6
Compression:
Stored size: 557 Bytes
Contents
require File.dirname(__FILE__) + "/../helpers" class IntegrityTest < Test::Unit::TestCase test "Integrity.new loads configuration from a file" do stub(DataMapper).setup { nil } file = File.dirname(__FILE__) + "/../../config/config.sample.yml" Integrity.new(file) Integrity.config[:base_uri].should == "http://integrity.domain.tld" Integrity.config[:export_directory].should == "/path/to/scm/exports" end specify "config is just a hash" do Integrity.config[:foo] = "bar" Integrity.config[:foo].should == "bar" end end
Version data entries
6 entries across 6 versions & 3 rubygems