Sha256: a01dba725c0464da5f9cfb1c7756231910c906cd98ed32a2c4f5e92eb8417c6a
Contents?: true
Size: 669 Bytes
Versions: 2
Compression:
Stored size: 669 Bytes
Contents
require "spec_helper" class ConfigTest include Albacore::Task end module ConfigModuleTest include Albacore::Configuration def mixin_worked true end end describe "when configuring log level to verbose" do let :test do Albacore.configure do |config| config.log_level = :verbose end test = ConfigTest.new end it "should set the log level for any model" do test.log_level.should == :verbose end end describe "when including Albacore::Configuration in a module" do it "should mix the module into the Albacore.configuration" do Albacore.configuration.mixin_worked.should be_true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
albacore-1.0.0 | spec/config_spec.rb |
albacore-1.0.0.rc.3 | spec/config_spec.rb |