Sha256: 023e38c37d1ad7ee6c756c435e8db07bacf15ff42ffedf04f13d8dd0694098e6
Contents?: true
Size: 550 Bytes
Versions: 6
Compression:
Stored size: 550 Bytes
Contents
load File.dirname(__FILE__) + '/spec_helper.rb' describe 'the logger' do it 'can be read' do builder = Rake::Builder.new do |builder| builder.source_search_paths = [ 'cpp_project' ] end builder.logger.should_not be_nil end it 'can be set' do builder = Rake::Builder.new do |builder| builder.source_search_paths = [ 'cpp_project' ] end lambda do builder.logger = Logger.new( STDOUT ) end.should_not raise_exception end # TODO: check the output # builder.logger.level = Logger::DEBUG end
Version data entries
6 entries across 6 versions & 1 rubygems