Sha256: 0d1e4125ee86083621994c3079e5d5f27320ab3e0738ed2cccb4a7a9d9622e4b
Contents?: true
Size: 731 Bytes
Versions: 8
Compression:
Stored size: 731 Bytes
Contents
require File.expand_path("../spec_helper", File.dirname(__FILE__)) describe Sprinkle do it 'should automatically extend Object to support package, policy and deployment DSL keywords' do %w( package policy deployment ).each do |keyword| Object.should respond_to(keyword.to_sym) end end it 'should default to production mode' do Sprinkle::OPTIONS[:testing].should be_false end it 'should automatically create a logger object on Kernel' do Object.should respond_to(:logger) logger.should_not be_nil logger.class.should == ActiveSupport::BufferedLogger end it 'should create a logger of level INFO' do logger.level.should == ActiveSupport::BufferedLogger::Severity::INFO end end
Version data entries
8 entries across 8 versions & 1 rubygems