Sha256: d475e4c4e3f12a458a76605dc53b5f8bcb7d190c91e50a1aa5061d280db7f1a0
Contents?: true
Size: 736 Bytes
Versions: 4
Compression:
Stored size: 736 Bytes
Contents
require 'spec_helper' require 'albacore/albacoretask' require 'albacore/config/config' 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
albacore-0.2.5 | spec/config_spec.rb |
albacore-0.2.4 | spec/config_spec.rb |
albacore-0.2.3 | spec/config_spec.rb |
albacore-0.2.2 | spec/config_spec.rb |