Sha256: a13e4f57c7c1a544a469e8d89f8a63510c16434fd90c9fa28f72512d9dc49c30
Contents?: true
Size: 715 Bytes
Versions: 63
Compression:
Stored size: 715 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' 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
63 entries across 63 versions & 13 rubygems