Sha256: 4b26348b8f6f903f936059c90509ec0fd0ad9be68e5aeb881182de8c4cdb0242
Contents?: true
Size: 386 Bytes
Versions: 3
Compression:
Stored size: 386 Bytes
Contents
require 'spec_helper' module Jekyll::AssetsPlugin describe Logging do it 'puts strings with [AssetsPlugin] prefix' do loggable = Class.new do include Logging # make sure #log is public def log(*args) super; end end.new loggable.should_receive(:puts).with(match %r{^\[AssetsPlugin\]}) loggable.log :info, 'test' end end end
Version data entries
3 entries across 3 versions & 1 rubygems