Sha256: 63a9c2f5a4296211ab7f6f04a2e9a3aa71082ba86734c9040482bf9686ba7091
Contents?: true
Size: 470 Bytes
Versions: 2
Compression:
Stored size: 470 Bytes
Contents
require "spec_helper" module RockConfig describe RockConfig do it "it loads valid configs" do RockConfig.configure do |config| config.scanned_directories << File.join(Dir.pwd, "spec", "fixtures") config.config_loaders << YamlLoader.new end config = RockConfig.for("database", "development") config.magic_number.should eq(213) config.test_false.should == false config.test_true.should == true end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rock_config-0.0.7 | spec/rock_config_spec.rb |
rock_config-0.0.6 | spec/rock_config_spec.rb |