Sha256: 8247796470af247d5f93786775245a01f8e027a6a085a96efa4edf9ce832987d

Contents?: true

Size: 441 Bytes

Versions: 1

Compression:

Stored size: 441 Bytes

Contents

require File.join(File.dirname(__FILE__), 'support', 'spec_helper')
require 'albacore/albacoremodel'

class ConfigTest
  include AlbacoreModel
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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
albacore-0.2.0.preview1 spec/config_spec.rb