Sha256: 7a2ed91ce66ca1fc0a98a4d650e2d6e8ffb3c2e3cc2744a118cdc9c1d6e3cb4c
Contents?: true
Size: 654 Bytes
Versions: 35
Compression:
Stored size: 654 Bytes
Contents
require 'spec_helper' describe Picky::Loggers::Silent do let(:io) { StringIO.new } let(:logger) { described_class.new io } describe 'more complicated test case' do it 'is correct' do logger.info 'Tokenizing ' logger.tokenize :some_category logger.tokenize :some_category logger.tokenize :some_category logger.info ' Dumping ' logger.dump :some_category logger.dump :some_category logger.info ' Loading ' logger.load :some_category logger.load :some_category logger.load :some_category logger.load :some_category io.string.should == '' end end end
Version data entries
35 entries across 35 versions & 1 rubygems